Edit Frequency Cap

Edit campaign frequency capping

PHP

Replace:
[FREQ_PAGE] with your page frequency(on/off) - List campaign page frequency capping
[FREQ_TIMES] with your frequency times - List campaign frequency times
[FREQ_HOUR] with your frequency hour - List campaign frequency hour
[CAMPAIGN] with your campaign ID
[YOUR_API_TOKEN] with your token

<?php $params = array( 'value[page]'=>[FREQ_PAGE], 'value[times]'=>[FREQ_TIMES], 'value[hour]'=>[FREQ_HOUR] ); $curl = curl_init('https://api.adnium.com/v1/advertiser/campaign/[CAMPAIGN]/edit/frequency/?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); ?>
Form Data
value
object
Language
Request