Stats By Zone

Get campaign stats by zone

PHP

Replace:
[CAMPAIGN] with your campaign ID
[DATE_FROM] with your start period
[DATE_TO] with your end period
[YOUR_API_TOKEN] with your token

<?php
  $curl = curl_init('https://api.adnium.com/v1/advertiser/stats/[CAMPAIGN]/zones/?token=[YOUR_API_TOKEN]&from=[DATE_FROM]&to=[DATE_TO]');
  curl_setopt($tcurl, CURLOPT_RETURNTRANSFER, true);
  $response = curl_exec($curl);
  curl_close($curl);
  var_dump($response);
?>
Language