sector
Get a reference on industries.
Request format
https://adfox.yandex.com/api/v1
  ? object=account
  & action=utility
  & actionObject=sector
        
    Response format
<response>
<status>
  <code>{integer}</code>
</status>
<result>
<data>
  <row0>
    <sectorid>{integer}</sectorid>
    <name>{string}</name>
  </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   | 
| 
 
  | 
 Industry ID in the reference.  | 
| 
 
  | 
 Industry name.  | 
Sample request and response
Request:
https://adfox.yandex.com/api/v1?object=account&action=utility&actionObject=sectorResponse:
<response> <status> <code>0</code> </status> <result> <data> <row0> <sectorid>1</sectorid> <name>Audio and video equipment, products</name> </row0> </data> </result> </response>
Was the article helpful?
Previous
Next