targeting
Get summary information on targeting at the banner level.
Request format
https://adfox.yandex.com/api/v1
  ? object=banner
  & action=info
  & actionObject=targeting
  & objectID=<integer>
| 
 | ID of the object that the action is performed on. | 
* Required
Response format
<response>
<status>
   <code>{integer}</code>
</status>
<result>
<data>
  <row0>
    <title>{string}</title>
    <name>{string}</name>
    <isRedefined>{integer}</isRedefined>
    <description>{string}</description>
  </row0>
</data>
</result>
</response>
Response parameters
| 
 | Request processing status. For the key, see Error handling. | 
| 
 | Number of items in the response tree. | 
| 
 | The item number in the response tree, where N is a number from 0 to rows-1 (where  | 
| 
 | Targeting name. | 
| 
 | The targeting name in the database. | 
| 
 | Redefine targeting at the banner level. Acceptable values: 
 | 
| 
 | Targeting value. | 
Sample request and response
Request:
https://adfox.yandex.com/api/v1?object=banner&action=info&actionObject=targeting&objectID=474205Response:
<response> <status> <code>0</code> </status> <result> <data> <row0> <title>Frequency</title> <name>frequency</name> <isRedefined>0</isRedefined> <description>not set</description> </row0> </data> </result> </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 information on banner placement.
- Edit 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.
ID of the object that the action is performed on.
Required
Was the article helpful?
Previous
Next