placement
Configure banner placement.
Request format
https://adfox.yandex.com/api/v1
? object=banner
& action=modify
& actionObject=placement
& objectID=<integer>
& type=<string>
& [_siteID=<string>]
& [_sectionID=<string>]
& [_placeID=<string>]
|
ID of the object that the action is performed on. |
|
Acceptable value: |
|
Replace the ID in the parameter name with the site ID. For example: Acceptable values:
|
|
Replace the ID in the parameter name with the site section ID. For example: Acceptable values:
|
|
Replace the ID in the parameter name with the placement ID. For example: Acceptable values:
|
* Required
Response format
<response>
<status>
<code>{integer}</code>
</status>
</response>
Response parameters
|
Request processing status. For the key, see Error handling. |
Sample request and response
Request:
https://adfox.yandex.com/api/v1?object=banner&action=modify&actionObject=placement&objectID=345234&type=websites&_site123456=on
Response:
<response> <status> <code>0</code> </status> </response>
Other actions with the object
See more actions with the banner
object:
- Get a list of banners.
- Add a banner.
- Edit a banner.
- Get summary information on targeting at the banner level.
- Get information on banner placement.
- Get statistics on campaigns/banners/placements for the day.
- Target a banner by frequency.
- Target a banner by geography.
- Target a banner by keywords.
- Target a banner by gender, age, or income.
- Target a banner by user characteristics.
- Target a banner by time.
Replace the ID in the parameter name with the placement ID. For example: _place676
.
Acceptable values:
-
on
: Enable placement. -
off
: Disable placement.
Required
ID of the object that the action is performed on.
Acceptable value: websites.
Replace the ID in the parameter name with the site ID. For example: _site676
.
Acceptable values:
-
on
: Enable placement. -
off
: Disable placement.
Replace the ID in the parameter name with the site section ID. For example: _section676
.
Acceptable values:
-
on
: Enable placement. -
off
: Disable placement.