Update Creative

Update Creative

PUT https://api.ocamba.com/api/v1/adex/creatives/{id}
Updates the specific Creative by setting the values of the parameters passed

Note
At least one of the updatable fields should be sent via HTTP body in order to change the current state of the creative. Field campaign_id is required in request body but it is not updateable.
Tip
If you don’t know the creative id, list the creatives to find it.

Path parameters

parameters

Response schemas

curl -X PUT \
 "https://api.ocamba.com/api/v1/adex/creatives/{id}" \
  -H "Authorization: Bearer {TOKEN}"
const url = 'https://api.ocamba.com/api/v1/adex/creatives/{id}';
const options = {
  method: 'PUT',
  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/api/v1/adex/creatives/{id}");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PUT");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
  "Authorization: Bearer {TOKEN}"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);

Responses

200 OK

Responses