View External demand partner

View External demand partner

GET https://api.ocamba.com/v2/adex/external-demand-partners/{id}
Retrieves the details of an External demand partner that has previously been created if a valid identifier was provided

Tip
If you don’t know the external demand partner id, list the external demand partners to find it.

Path parameters

parameters

Query parameters

parameters

Response schemas

curl -X GET \
 "https://api.ocamba.com/v2/adex/external-demand-partners/{id}" \
  -H "Authorization: Bearer {TOKEN}"
const url = 'https://api.ocamba.com/v2/adex/external-demand-partners/{id}';
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/{id}");
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

{
  "total": 1,
  "items": [
    {
      "id": "116",
      "name": "Example - Pop CPC",
      "type": "native",
      "pricing_model": "cpc",
      "settings": [
        {
          "label": "token",
          "type": "string",
          "required": "1"
        },
        {
          "label": "ssp_id",
          "type": "string",
          "required": "1"
        },
        {
          "label": "type",
          "type": "string",
          "required": "1"
        }
      ]
    }
  ]
}
Responses