position
Add a position. You can use positions to create multiple placements in one site section with the same banner type. Usually, the position indicates the placement position in the site layout, for example: top, middle, or bottom of the page.
Request format
https://adfox.yandex.com/api/v1
? object=account
& action=add
& actionObject=position
& name=<string>
|
Object name. An entry can contain Russian and Latin letters, numbers, and any special characters. |
* Required
Response format
<response>
<status>
<code>{integer}</code>
<ID>{integer}</ID>
</status>
</response>
Response parameters
|
Request processing status. If the value is |
|
Object ID. |
Sample request and response
Request:
https://adfox.yandex.com/api/v1?object=account&action=add&actionObject=position&name=topline
Response:
<response> <status> <code>0</code> <ID>5</ID> </status> </response>
Other actions with the object
See more actions with the position
object:
Required
Object name. An entry can contain Russian and Latin letters, numbers, and any special characters.
Copied
Was the article helpful?
Previous
Next