website
Deleting a site.
Request format
https://adfox.yandex.com/api/v1
? object=account
& action=delete
& actionObject=website
& listIDs=<integer>
|
|
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
|
|
Request processing status. A value of |
Sample request and response
Request:
https://adfox.yandex.com/api/v1?object=account&action=delete&actionObject=website&listIDs=357,358Response:
<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.