Editing Advertising Campaigns

campaign/edit

Parameters:

  • token — authorization (string)
  • Any field specified when adding campaigns according to the type

Example of the method request:

 $token,
        'id' => 999999,
        'visits' => 200, // change the number of executions
        '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
}
IPweb

Rate the material:

Rating: 3.5 out of 5. Total ratings: 4.