View External demand

View External demand

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

Path parameters

parameters

Query parameters

parameters

Response schemas

curl -X GET \
 "https://api.ocamba.com/v2/adex/external-demands/{id}" \
  -H "Authorization: Bearer {TOKEN}"
const url = 'https://api.ocamba.com/v2/adex/external-demands/{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-demands/{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": "123",
      "company_id": "6543210",
      "partner_id": "74",
      "name": "New external demand",
      "settings": [
        {
          "label": "feed_id",
          "type": "string",
          "required": "1",
          "possible_values": null,
          "value": "5"
        }
      ],
      "bid_regulator": 100,
      "status": "active",
      "sync_status": "0",
      "ipv6_support": "1",
      "create_time": "2022-06-11 11:16:50",
      "qps": {
        "am": 1000,
        "sg": 1000,
        "ny": 1000
      }
    }
  ]
}
Responses
Tip
If you don’t know the external demand id, list the external demands to find it.