deleteBlock

Remove an ad unit from its placement and archive it in YAN.

Request format

https://adfox.yandex.com/api/v1
  ? object=place
  & action=deleteBlock
  & objectID=<integer>

objectID*

ID of the placement where a YAN ad unit should be removed and archived.

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=place&action=deleteBlock&objectID=543

Response:

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

Other actions with the object

Read about other actions with the place object:

ID of the placement where a YAN ad unit should be removed and archived.

Required parameter.