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