campaign/add_visits
Parameters:
When you top up an advertising campaign, the systems uses the money on the main balance and calculates it into visits * one_visit_cost
Example of the method request:
$token, 'id' => 999999, 'visits' => 200 ); if( $curl = curl_init() ) { curl_setopt($curl, CURLOPT_URL, 'https://www.ipweb.ru/api/v2/campaign/add_visits'); 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 }