Check if External demand partner is created
Check if External demand partner is created
GET
https://api.ocamba.com/v2/adex/external-demand-partners-autofill
Checks if external demand partner exists
Tip
Use this endpoint to verify if an external demand partner exists before creating one.
Rate limits:
- Burst: 10/s
- Steady: 150/m
Query parameters
parametersResponse schemas
›
200
application/json
›
400
application/json
›
404
application/json
›
500
application/json
curl -X GET \
"https://api.ocamba.com/v2/adex/external-demand-partners-autofill" \
-H "Authorization: Bearer {TOKEN}"const url = 'https://api.ocamba.com/v2/adex/external-demand-partners-autofill';
const options = {
method: 'GET',
headers: {
Authorization: `Bearer {TOKEN}`
}
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}$ch = curl_init("https://api.ocamba.com/v2/adex/external-demand-partners-autofill");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer {TOKEN}"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);Responses
200 OK
{
"id": "246",
"name": "Example - Push CPC",
"root_domain": "example.com",
"type": "native",
"pricing_model": "cpc",
"create_time": "2022-05-05T15:26:35Z"
}
400 Bad Request
{
"code": 400,
"title": "Bad request.",
"message": "The request is not valid.",
"trace_id": "99a84211-f73d-4ff8-acdf-eb3e06bb9d62"
}
404 Not Found
500 Internal Server Error
{
"code": 500,
"title": "Internal server error.",
"trace_id": "99a84211-f73d-4ff8-acdf-eb3e06bb9d62"
}
Responses