View Campaign creative

View Campaign creative

GET https://api.ocamba.com/v2/adex/campaigns/{campaign_id}/creatives/{id}
Retrieves the details of a Campaign creative that has previously been created if a valid identifier was provided

Query parameters

parameters

Path parameters

parameters

Response schemas

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

{
  "id": "1000004",
  "campaign_id": 1006454,
  "name": "Demo dynamic native",
  "type": "dynamic-native",
  "status": "inactive",
  "title": {
    "en": "en title",
    "sr": "sr title"
  },
  "image": {
    "en": "http://example.domen/image/en.jpg",
    "sr": "http://example.domen/image/sr.jpg"
  },
  "landing_url": "http://www.delsystems.net",
  "target": "_blank",
  "advertiser_domain": "www.delsystems.net"
}
Responses

Tip
Searchable fields are name and description. Sortable fields are create_time, update_time.
Info
The response example is representing a full view.
Note
Path parameter campaign_id is only useable on campaigns/{cid}/creatives routes. It is represented by {cid}.