campaign/edit
Parameters:
Example of the method request:
<?php
$post = array(
'token' => $token,
'id' => 999999,
'actions' => 200, // change the number of actions
'period' => 'week', // per week
'keyword' => 'keyword', // change keyword
'position' => 32 // change the position in the search results
);
if ($curl = curl_init()) {
curl_setopt($curl, CURLOPT_URL, 'https://www.ipweb.ru/api/v2/campaign/edit');
curl_setopt($curl, CURLOPT_RETURNTRANSFER,true);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, $post);
$out = curl_exec($curl);
echo $out;
curl_close($curl);
}
// Result:
{
"status": "ok",
"error_code": 0
}