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 existsQuery parameters
parametersResponse schemas
›
200
application/json
›
404
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",
"openapi": {
"openapi": "3.0.3",
"components": {},
"info": {
"title": "Example - Push CPC",
"version": "1.0.0"
},
"paths": {
"/": {
"get": {
"parameters": [
{
"in": "query",
"name": "pubid",
"required": true,
"schema": {
"type": "string"
},
"x-ocamba-provider": "user"
},
{
"in": "query",
"name": "feedid",
"required": true,
"schema": {
"type": "string"
},
"x-ocamba-provider": "user"
},
{
"in": "query",
"name": "ip",
"schema": {
"type": "string"
},
"x-ocamba-provider": "ocamba"
},
{
"in": "query",
"name": "lang",
"schema": {
"type": "string"
},
"x-ocamba-provider": "static"
},
{
"in": "query",
"name": "useragent",
"schema": {
"type": "string"
},
"x-ocamba-provider": "ocamba"
},
{
"in": "query",
"name": "user_id",
"schema": {
"type": "string"
},
"x-ocamba-provider": "ocamba"
},
{
"in": "query",
"name": "domain",
"schema": {
"type": "string"
},
"x-ocamba-provider": "ocamba"
},
{
"in": "query",
"name": "subscription_timestamp",
"schema": {
"type": "string"
},
"x-ocamba-provider": "ocamba"
},
{
"in": "query",
"name": "q",
"schema": {
"type": "string"
},
"x-ocamba-provider": "static"
},
{
"in": "query",
"name": "format",
"schema": {
"type": "string"
},
"x-ocamba-provider": "static"
}
],
"responses": {
"200": {
"content": {
"application/json": {}
},
"description": "Real-Time bidding response"
}
}
}
}
},
"servers": [
{
"url": "http://xml.example.com",
}
]
},
"type": "native",
"pricing_model": "cpc",
"create_time": "2022-05-05T15:26:35Z"
}
404 Not Found
Responses