Start Banner

Set a banner to the start or enabled status

PHP

Replace:
[CAMPAIGN] with your campaign ID
[BANNER] with your banner ID - List all banners in a campaign
[YOUR_API_TOKEN] with your token

<?php
  $curl = curl_init('https://api.adnium.com/v1/advertiser/campaign/[CAMPAIGN]/banner/[BANNER]/start/?token=[YOUR_API_TOKEN]');
  curl_setopt($this->curl, CURLOPT_RETURNTRANSFER, true);
  curl_setopt($this->curl, CURLOPT_CUSTOMREQUEST, 'PUT');
  $response = curl_exec($curl);
  curl_close($curl);
  var_dump($response);
?>
Language