Can't log in?
ATTENTION! If the system consistently requires authorization and this disturbing you from working please check if you have cookies enabled in your browser.
In the Microsoft Internet Explorer In the "Tools" menu, select "Internet Options", then go to on the "Privacy" tab and check if you have cookies enabled. Recommended security level - medium.
In the Opera browser, on the File menu -> "Quick Settings", check whether the checkmark next to "Enable cookies" is checked.
If you have any questions, please contact the support.
campaign/info
Parameters:
Limit on the number of advertising campaigns: 1000 pcs. To get a full list of advertising campaigns, use the parameter:
Example of the method request:
<?php $post = array( 'token' => $token, 'id' => 999999 ); if ($curl = curl_init()) { curl_setopt($curl, CURLOPT_URL, 'https://www.ipweb.ru/api/v2/campaign/info'); 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: { "id": "999999", "type": "paid_se", "type_name": "actions from the search engine", "date_begin": "14.06.2019 13:56", "campaign": "mysite.com (https://google.ru : keyword)", "one_action_cost": "0.786", "one_action_currency": "₽", "one_action_currency_iso": "RUB", "balance_actions": "2996", "actions_hour": "0", "actions_hour_limit": "1", "actions_today": "1", "actions_today_limit": "0", "comments": "", "status": "active", "category_id": "9999", "category_name": "mysite.com", "error_code": 0 } ==================================================================================== <?php $post = array( 'token' => $token, 'id' => 999999 ); if ($curl = curl_init()) { curl_setopt($curl, CURLOPT_URL, 'https://www.ipweb.ru/api/v2/campaign/info'); 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: { "id": "999999", "type": "paid_se", "type_name": "actions from the search engine", "date_begin": "14.06.2019 13:56", "campaign": "mysite.com (https://google.ru: keyword)", "one_action_cost": "0.786", "one_action_currency": "₽", "balance_actions": "2996", "actions_hour": "0", "actions_hour_limit": "1", "actions_today": "1", "actions_today_limit": "0", "comments": "", "status": "active", "category_id": "9999", "category_name": "mysite.com", "childrens": [ { "id": 888888, "url": "mysite.com", "actions": "1000", "period": "day", "spreading": "normal", "rejection": 0, "outer_clicks": 0, "actions_hour": 0, "actions_hour_limit": 42, "actions_today": 0, "actions_today_limit": 1000, "actions_month": 0, "actions_all": 0, "status": "moderating" }, { "id": 777777, "url": "mysite.com", "actions": "1000", "period": "day", "spreading": "normal", "rejection": 0, "outer_clicks": 0, "actions_hour": 0, "actions_hour_limit": 42, "actions_today": 0, "actions_today_limit": 1000, "actions_month": 0, "actions_all": 0, "status": "moderating" } ], "error_code": 0 } ==================================================================================== <?php $post = array( 'token' => $token, 'category_id' => 9999 ); if ($curl = curl_init()) { curl_setopt($curl, CURLOPT_URL, 'https://www.ipweb.ru/api/v2/campaign/info'); 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: { "campaigns": [ { "id": "999999", "type": "paid_se", "type_name": "actions from the search engine", "date_begin": "14.06.2019 11:27", "campaign": "mysite.com (https://google.ru : keyword 1)", "one_action_cost": "0.786", "one_action_currency": "₽", "balance_actions": "0", "actions_hour": "0", "actions_hour_limit": "1", "actions_today": "0", "actions_today_limit": "0", "comments": "test", "status": "stopped", "category_id": "9999", "category_name": "mysite.com" }, { "id": "999998", "type": "paid_se", "type_name": "actions from the search engine", "date_begin": "14.06.2019 13:56", "campaign": "mysite.com (https://google.ru : keyword 2)", "one_action_cost": "0.786", "one_action_currency": "₽", "balance_actions": "992", "actions_hour": "0", "actions_hour_limit": "1", "actions_today": "0", "actions_today_limit": "1", "comments": "", "status": "active", "category_id": "9999", "category_name": "mysite.com" } ], "error_code": 0 }
Possible values of the "Status" field: