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>
|
|
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
|
|
Request processing status. A value of |
Sample request and response
Request:
https://adfox.yandex.com/api/v1?object=place&action=deleteBlock&objectID=543Response:
<response> <status> <code>0</code> </status> </response>
Other actions with the object
Read about other actions with the place object:
- Add a placement.
- Add the default banner.
- Delete a placement.
- Get a list of active banners on the placement.
- Edit placement parameters.
- Get an ad tag from the placement level.
- Create a YAN ad unit and link it to a placement.
- Link an existing YAN ad unit to a placement.
- Manage the ad unit status on a placement.
- Get a list of placements along with their details and data on YAN ad units.
ID of the placement where a YAN ad unit should be removed and archived.
Required parameter.
Was the article helpful?
Previous
Next