Edit Name

Edit campaigns name

PHP

Replace:
[CAMPAIGN_NAME] with your new campaign name
[CAMPAIGN] with your campaign id
[YOUR_API_TOKEN] with your token

<?php
  $params = array(
    'value'=>[CAMPAIGN_NAME],
  );
  $curl = curl_init('https://api.adnium.com/v1/advertiser/campaign/[CAMPAIGN]/edit/name/?token=[YOUR_API_TOKEN]');
  curl_setopt($this->curl, CURLOPT_RETURNTRANSFER, true);
  curl_setopt($this->curl, CURLOPT_CUSTOMREQUEST, 'PUT');
  curl_setopt($this->curl, CURLOPT_POSTFIELDS, http_build_query($params));
  $response = curl_exec($curl);
  curl_close($curl);
  var_dump($response);
?>
Language