website

Deleting a site.

Request format

https://adfox.yandex.com/api/v1
  ? object=account
  & action=delete
  & actionObject=website
  & listIDs=<integer>

listIDs*

ID of the object to delete.

Use a comma to separate object IDs in the list.

Response format

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

Response parameters

code

Request processing status. A value of 0 means 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=website&listIDs=357,358

Response:

<response>
<status>
  <code>0</code>
</status>
</response>

Note

When you delete a site that had ad labeling enabled, the object is resent to the ADO (advertising data operator) with a flag indicating it's no longer relevant.

Other actions with the object

Read about other actions with the website object:

ID of the object to delete.

Use a comma to separate object IDs in the list.

Required parameter.

Previous
Next