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>

actionObjectID*

ID of the campaign to delete.

See also:

* Required

Response format

<response>
<status>
  <code>{integer}</code>
</status>
</response>

Response parameters

code

Request processing status. If the value is 0, the request was completed successfully. For the key, see Error handling.

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:

Previous