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>

objectID*

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

code

Request processing status. For the key, see Error handling.

rows

Number of items in the response tree.

rowN

The item number in the response tree, where N is a number fromĀ 0 to rows-1 (where rows is the total number of items in the response).

title

Targeting name.

frequency

The targeting name in the database.

description

Targeting value.

Sample request and response

Request:

https://adfox.yandex.com/api/v1?object=campaign&action=info&actionObject=targeting&objectID=474205

Response:

<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:

Previous
Next