tracingPoint

Add action tracing points. Action tracing points are used to track the behavior of users who interacted with the advertiser's ads on the advertiser's website. Action tracing points can also be used to label audience in order to show certain campaigns to this audience in the future.

Request format

https://adfox.yandex.com/api/v1
  ? object=account
  & action=add
  & actionObject=tracingPoint
  & name=<string>
  & advertiserID=<integer>
  & [categoryID=<integer>]
  & [templateTypeID=<integer>]
  & [referrer=<string>]
  & [weight=<integer>]

name*

Object name. An entry can contain Russian and Latin letters, numbers, and any special characters.

advertiserID*

ID of the advertiser to whom the action tracing point will belong.

See also:

categoryID

ID of the category to which the audience that interacts with the action tracing point will be labeled into.

Acceptable values:

  • 0: Category not specified.
  • N: Category ID.

Default value: 0.

templateTypeID

Page template type. To learn more about template types, see Referer templates.

Acceptable values:

  • 0: Standard.
  • 1: POSIX.2.

Default value: 0.

referrer

URL template for comparing with the site page address from the request. If the address doesn't match the URL template, the action tracing point loading isn't counted.

Sample entry:

  • For the standard template:

    ⃰site.com/index.php
    
  • For POSIX.2:

    homer-simpson-tv\.blog4ever\.com|forum\.rojadirecta\.org|
    ^hidan\.eklablog\.com.٭|^aniworld\.spb\.ru\/.٭\/adfox\/.
    ٭s$
    

An entry can contain Russian and Latin letters, numbers, and any special characters.

weight

Action point weight. Used for building reports. For example, going to the landing page after clicking on the banner has less weight than going to the checkout page, which has more weight because the purpose of the campaign is to increase sales.

Acceptable values:

  • 0≤N≤100, where N is the action tracing point weight that determines its importance for achieving your ad goals.

* Required

Response format

<response>
<status>
  <code>{integer}</code>
  <ID>{integer}</ID>
</status>
</response>

Response parameters

code

Request processing status. If the value is 0, the request was completed successfully. For the key, see Error handling.

ID

Object ID.

Sample request and response

Request:

https://adfox.yandex.com/api/v1?object=account&action=add&actionObject=tracingPoint&name=avto&advertiserID=3&weight=1

Response:

<response>
<status>
  <code>0</code>
  <ID>4</ID>
</status>
</response>

Other actions with the object

See more actions with the tracingPoint and advertiser objects: