campaign
Delete a campaign. When you delete a campaign, all banners under this campaign are also deleted.
Request format
https://adfox.yandex.com/api/v1
? object=account
& action=delete
& actionObject=campaign
& actionObjectID=<integer>
|
ID of the campaign to delete. See also: |
* Required
Response format
<response>
<status>
<code>{integer}</code>
</status>
</response>
Response parameters
|
Request processing status. If the value is |
Sample request and response
Request:
https://adfox.yandex.com/api/v1?object=account&action=delete&actionObject=campaign&actionObjectID=136
Response:
<response> <status> <code>0</code> </status> </response>
Other actions with the object
See more actions with the campaign
object:
- Add a campaign.
- Get a list of campaigns.
- Edit a campaign.
- Get a list of campaign banners.
- Place a campaign on a site, a site section, or a placement.
ID of the campaign to delete.
See also:
Required