website
Get a list of websites.
Request format
Note
Pagination available.
https://adfox.yandex.com/api/v1
  ? object=account
  & action=list
  & actionObject=website
  & [actionObjectID=<integer>]
| 
 | To get data for only one website, specify its ID. Default value:  | 
* Required
Response format
<response>
<status>
  <code>{integer}</code>
</status>
<result>
<data>
  <row0>
    <ID>{integer}</ID>
    <name>{string}</name>
    <URL>{string}</URL>
    <isActive>{integer}</isActive>
    <webmasterID>{integer}</webmasterID>
    <webmasterAccount>{string}</webmasterAccount>
    <adNetworkID>{integer}</adNetworkID>
    <adNetworkName>{string}</adNetworkName>
    <categoryID>{integer}</categoryID>
    <categoryName>{string}</categoryName>
    <loadsToday>{integer}</loadsToday>
    <impressionsToday>{integer}</impressionsToday>
    <impressionsDefaultToday>{integer}</impressionsDefaultToday>
    <clicksToday>{integer}</clicksToday>
    <CTRToday>{integer}</CTRToday>
    <isReferrerByURL>{integer}</isReferrerByURL>
    <templateTypeID>{integer}</templateTypeID>
    <template>{string}</template>
    <dateAdded>{date}</dateAdded>
    <platformName>{string}</platformName>
    <platformType>{integer}</platformType>
    <contractorID>{integer}</contractorID>
    <url>{string}</url>
    <isMobileApp>{integer}</isMobileApp>
  </row>
</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  | 
| 
 | Unique ID of the site in management. | 
| 
 | The name of the site. | 
| 
 | Site owner ID. | 
| 
 | Site owner username. | 
| 
 | ID of the category assigned to the site. | 
| 
 | Name of the category assigned to the site. | 
| 
 | Tag information. Code requests today. | 
| 
 | Tag information. Impressions today. | 
| 
 | Tag information. Unfilled ad responses today. | 
| 
 | Tag information. Clicks today. | 
| 
 | Tag information. CTR today. | 
| 
 | Referer template. | 
| 
 | Add date. | 
| 
 | Platform name. | 
| 
 | Platform type. Acceptable values: 
 | 
| 
 | Contractor ID. | 
| 
 | Webite or video resource domain, a blog URL, or a link for downloading an app. | 
| 
 | The platform is an app with mobile mediation. Acceptable values: 
 | 
Sample request and response
Request:
https://adfox.yandex.com/api/v1?object=account&action=list&actionObject=websiteResponse:
<response> <status> <code>0</code> </status> <result> <data> <row0> <ID>27185</ID> <name>site</name> <URL/> <isActive>1</isActive> <webmasterID/> <webmasterAccount/> <adNetworkID/> <adNetworkName/> <categoryID/> <categoryName/> <loadsToday>0</loadsToday> <impressionsToday>0</impressionsToday> <impressionsDefaultToday>0</impressionsDefaultToday> <clicksToday>0</clicksToday> <CTRToday>0.0000</CTRToday> <isReferrerByURL>0</isReferrerByURL> <templateTypeID>0</templateTypeID> <template/> <dateAdded>2021-11-27</dateAdded> </row0> </data> </result> </response>
Other actions with the object
See more actions with the website object:
To get data for only one website, specify its ID.
Default value: 0 (display the list of all websites).
Required