ResumeCampaign
Allows displays of campaign ads.
Alert
Disabled method. Use version 5 of the API.
For information about the compatibility of methods between versions 4 and 5, see the Migration guide.
The ResumeCampaign (Live) version also exists for this method.
If ad impressions are allowed at the campaign level, the StatusShow
parameter for the campaign is set to “Yes”.
Allowing displays at the campaign level does not mean that the ad is actually displayed. For impressions, other conditions must be met as well: sufficient funds, moderator approval of the campaign and ads, and enabled displays on the ad level (ResumeBanners method). An actual impression corresponds to the Yes value in the IsActive
parameter.
Restrictions
Alert
This method only supports campaigns with the “Text & Image Ads” type. To work with all types of campaigns, use the Campaigns service in version 5 of the API. More information about campaign types
Input data
The input data structure in JSON is shown below.
{
"method": "ResumeCampaign",
"param": {
/* CampaignIDInfo */
"CampaignID": (int)
}
}
Parameters are described below.
Parameter |
Description |
Required |
CampaignIDInfo object |
||
|
The campaign ID. |
Yes |
Output data
Returns 1 when executed successfully, as shown in the following example.
{
"data": 1
}
Examples of input data
Python
{
'CampaignID': 3665578
}
PHP
array(
'CampaignID' =3665578
)
Perl
{
'CampaignID' =3665578
}