targeting
Get summary information on campaign targeting.
Request format
Note
Pagination available.
https://adfox.yandex.com/api/v1
  ? object=campaign
  & action=info
  & actionObject=targeting
  & objectID=<integer>
        
    | 
 
  | 
 The ad campaign ID. See also:  | 
* Required
Response format
<response>
<status>
  <code>{integer}</code>
</status>
<result>
<data>
  <row0>
    <title>{string}</title>
    <name>{string}</name>
    <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.  | 
| 
 
  | 
 Targeting value.  | 
Sample request and response
Request:
https://adfox.yandex.com/api/v1?object=campaign&action=info&actionObject=targeting&objectID=474205Response:
<response> <status> <code>0</code> </status> <result> <data> <row0> <title>Frequency</title> <name>frequency</name> <description>not set</description> </row0> </data> </result> </response>
Other actions with the object
See more actions with the campaign object:
- Add a campaign.
 - Get a list of campaigns.
 - Delete a campaign.
 - Edit a campaign.
 - Get a list of campaign banners.
 - Place a campaign on a site, a site section, or a placement.
 
The ad campaign ID.
See also:
Required
Was the article helpful?
Previous
Next