bindBlock

Link an existing YAN unit to a placement in Adfox.

Request format

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

objectID*

ID of the placement a YAN ad unit should be linked to.

rsyaBlockID*

Unit ID, such as R-A-19385233-3.

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=bindBlock&objectID=543&rsyaBlockID=R-A-19385233-3

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 a YAN ad unit should be linked to.

Unit ID, such as R-A-19385233-3.

Required parameter.