Guest mode enabled []

Launching Advertising Campaigns

campaign/start

Parameters:

  • token — authorization (string)
  • id — id of the ad campaign (int)
  • category_id — category identifier (int)

You must specify the advertising campaign's identifier (id) OR the category identifier (category_id).

Example of the method request:

 $token,
        'id' => 999999
    );
    if( $curl = curl_init() ) {
        curl_setopt($curl, CURLOPT_URL, 'https://www.ipweb.ru/api/v2/campaign/start');
        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: 4.34 out of 5. Total ratings: 13.
Last modified

I don't understand anything! Help :-(