bannerPlacements
Get information about banner placement.
Request format
Note
Pagination available.
https://adfox.yandex.com/api/v1
? object=account
& action=list
& actionObject=bannerPlacements
& bannerID=<integer>
|
ID of the banner to view the placement information for. See also: |
* Required
Response format
<response>
<status>
<code>{integer}</code>
</status>
<result>
<data>
<row0>
<websiteID>{integer}</websiteID>
<websiteName>{string}</websiteName>
<isWebsiteOn>{integer}</isWebsiteOn>
<sectionID>{integer}</sectionID>
<sectionName>{string}</sectionName>
<isSectionOn>{integer}</isSectionOn>
<placeID>{integer}</placeID>
<placeName>{string}</placeName>
<isPlaceOn>{integer}</isPlaceOn>
</row0>
</data>
</result>
</response>
Response parameters
|
Request processing status. If the value is |
|
Number of items in the response tree. |
|
Item number in the response tree, where N is a number from 0 to rows-1 (where |
|
ID of the site where the banner is placed. |
|
Name of the site where the banner is placed. |
|
Attribute of banner placement on the site:
|
|
Site section ID. |
|
Name of the site section. |
|
Attribute of banner placement in the site section:
|
|
Placement ID. |
|
Placement name. |
|
Attribute of banner placement on the placement:
|
Sample request and response
Request:
https://adfox.yandex.com/api/v1?object=account&action=list&actionObject=bannerPlacements&bannerID=15376
Response:
<response> <status> <code>0</code> </status> <result> <data> <row0> <websiteID>39310</websiteID> <websiteName>4416</websiteName> <isWebsiteOn>1</isWebsiteOn> <sectionID>83286</sectionID> <sectionName>all pages</sectionName> <isSectionOn>1</isSectionOn> <placeID>821550</placeID> <placeName>placement</placeName> <isPlaceOn>1</isPlaceOn> </row0> </data> </result> </response>
ID of the banner to view the placement information for.
See also:
Required