---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://yandex.com/support/adfox/en/targeting/index.md
  - https://yandex.com/support/adfox/ru/targeting/index.md
  - href: en/targeting/index.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/support/adfox/en/llms.txt

# Targeting

In Adfox, targeting can be set up at [different levels](*level). Banner-level targeting takes priority over placement-level and campaign-level settings.

> Let's say your entire campaign is geo-targeted to Russia, but for a couple of banners you've enabled redefined targeting to only some regions within Russia. In this case, banners with redefined targeting appear only in the selected regions, while all other banners follow the campaign settings and show across Russia.

To set targeting parameters of an:

{% list tabs %}

- Ad campaign

  
  1. <!-- source: en/_includes/targeting/select-campaign.md -->
     In the **Campaigns** tab, select an ad campaign or find one using the search bar.
     <!-- endsource: en/_includes/targeting/select-campaign.md -->

  1. Next to the campaign name, click ![](../_images/kebab-2.png =15x20) → **Targeting** or select a campaign and go to **Targeting**.

  1. In the window that opens, add one or multiple targeting criteria.

  1. Make changes and click **Save**.
  

- Campaign placement
  
  For a site, section, or placement.
  
  1. <!-- source: en/_includes/targeting/select-campaign.md -->
     In the **Campaigns** tab, select an ad campaign or find one using the search bar.
     <!-- endsource: en/_includes/targeting/select-campaign.md -->
      
  1. Go to the **Placement** tab and click the placement name in the row for the required level.

  1. In the window that opens, the **Targeting profile** field can have the following values:

      * **No restrictions**: Targeting isn't configured.
      * **Not overridden**: Targeting settings are inherited from the campaign level.
      * **Custom**: Custom targeting settings apply at the placement level.

      To set up targeting for the selected placement, choose **Custom** and click ![](../_images/settings-target.png =25x).
  
  1. In the window that opens, select the targeting type, enable the **Settings redefined** option, and configure the appropriate settings.

  1. Make changes and click **Change**.      
  

- Banner

  
  1. <!-- source: en/_includes/targeting/select-campaign.md -->
     In the **Campaigns** tab, select an ad campaign or find one using the search bar.
     <!-- endsource: en/_includes/targeting/select-campaign.md -->
      
  1. Go to the **Banners** tab, find the banner in the list, and click **Targeting**.

  1. In the window that opens, add one or multiple targeting criteria.

  1. Make changes and click **Save**.
      
{% endlist %}

If you frequently reuse the same targeting settings, consider [targeting profiles](https://yandex.com/support/adfox/en/settings/account/profiles.md).

## User labeling {#user-markup}

Adfox uses special Yandex IDs, including [cookie](https://yandex.ru/support2/common/en/browsers-settings/browsers-cookies.html) files, to identify user interests and fine-tune targeting based on frequency, demographics, and Yandex Audience segments. These IDs can be used effectively with:

#### Advanced Matching {#advanced-matching}
 
:   [Advanced Matching](https://yandex.com/support/metrica/en/general/advanced-matching.html) is a Yandex Metrica technology that helps identify users on a site, even when cross-site cookies are restricted in browsers like Safari and Mozilla Firefox. It uses the information that users themselves enter when placing an order, registering, or subscribing to a newsletter. This data is hashed in accordance with [ISO-27001 standards](https://yandex.com/support/metrica/en/security/iso-27001.html) and sent to Yandex Metrica in an anonymized format. By analyzing the aggregated information, you can target ads more precisely and increase your ad revenue.

:   If your site collects data, you can use [automatic or manual data transfer](https://yandex.com/support/metrica/en/general/advanced-matching.html#advanced-matching__how-it-on) to Advanced Matching to better tailor your ads to user interests and increase your site's revenue.

#### Transfer of IDs via the API {#api}
 
:   Adfox supports the transfer of custom IDs via the API in the GET parameter of the request. This technology is most commonly used for targeting and setting up impression frequency in mobile apps. The following IDs are used:

  <!-- source: en/_includes/campaigns/bind/ids-table.md -->
  #|
  || **Platform** | **ID** | **Engine parameter** | **Format** ||
  || iOS (iPhone, iPad) | IDFA | `&idfa=...` | A 32-character hex string (uppercase or lowercase), with or without hyphens.

  {% cut "For example" %}

  `AEBE52E7-03EE-455A-B3C4-E57283966239`

  {% endcut %} ||
  || iOS (iPhone, iPad) | IDFV | `&ifv=...` | A 32-character hex string (uppercase or lowercase), with or without hyphens.

  {% cut "For example" %}

  `5A7D2D91-E1F2-4B3A-9C8D-1F6E4A2B5C3D`

  {% endcut %} ||
  || Android (including Android TVs) | GAID | `&google_aid=...` | A 32-character hex string (uppercase or lowercase), with or without hyphens.

  {% cut "For example" %}

  `38400000-8cf0-11bd-b23e-10b96e40000d`

  {% endcut %} ||
  || Android (including Android TVs) | App Set ID | `&app_set_id=...` | A 32-character UUID v4 hex string (lowercase), with or without hyphens.

  {% cut "For example" %}

  `f81d4fae-7dec-11d0-a765-00a0c91e6bf6`

  {% endcut %} ||
  || Android without Google Play (Xiaomi, OPPO, Vivo) | OAID | `&oaid=...` | A 32-character hex string (uppercase or lowercase), with or without hyphens.

  {% cut "For example" %}

  `a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6`

  {% endcut %} ||
  || Huawei without Google Play | Huawei OAID | `&huawei_oaid=...` | A 32-character hex string (uppercase or lowercase), with or without hyphens.

  {% cut "For example" %}

  `3c4e6a2f8b1d5e9a7c3f1b4d8e2a6c5f`

  {% endcut %} ||
  || LG Smart TV (webOS) | LGUDID | `&webos-id=...` | A 32-character UUID v4 hex string (lowercase), with or without hyphens.

  {% cut "For example" %}

  `095f142a-ac5d-4e3b-8f2a-92c8be18d7f6`

  {% endcut %} ||
  || Samsung Smart TV | DUID | `&tizen-duid=...` | A 32-character UUID v4 hex string (lowercase), with or without hyphens.

  {% cut "For example" %}

  `89f45b0f5b7ac1fe727fa04792b07c3e`

  {% endcut %} ||
  || Samsung Smart TV | TIFA | `&tizen-tifa=...` | A 32-character UUID v4 hex string (lowercase), with or without hyphens.

  {% cut "For example" %}

  `00000000-34ab-cdef-1234-56789abcdef0`

  {% endcut %} ||
  || Samsung Smart TV | Tizen UUID | `&tizen-id=...` | 28 characters (lowercase and uppercase), including `+`, `-`, and `/`, with up to three `=` characters at the end.

  {% cut "For example" %}

  `DXlq4SiuR124eayZ31/lLwwww===`

  {% endcut %} ||
  || Samsung Smart TV | Extended DUID | `&ext_duid=...` | A 32-character UUID v4 hex string (lowercase), with or without hyphens.

  {% cut "For example" %}

  `aebe52e7-03ee-455a-b3c4-e57283966239` or `aebe52e703ee455ab3c4e57283966239`

  {% endcut %} ||
  || Any platform | Universal UUID | `&uuid=...` | A 32-character hex string (uppercase or lowercase), with or without hyphens.

  {% cut "For example" %}

  `AEBE52E7-03EE-455A-B3C4-E57283966239`, `AEBE52E703EE455AB3C4E57283966239`, or `aebe52e703ee455ab3c4e57283966239`

  {% endcut %} ||
  || Any platform | Device ID | `&device-id=...` | A 32-character hex string (uppercase or lowercase), with or without hyphens.

  {% cut "For example" %}

  `AEBE52E7-03EE-455A-B3C4-E57283966239`, `AEBE52E703EE455AB3C4E57283966239`, or `aebe52e703ee455ab3c4e57283966239`

  {% endcut %}

  20 or 24 characters (uppercase or lowercase).

  {% cut "For example" %}

  `FC32D205fefF2f34FFFe` or `bc49ed40De6CFe5b7315Cb94`

  {% endcut %} ||
  |#
  <!-- endsource: en/_includes/campaigns/bind/ids-table.md -->

<!-- source: en/_includes/feedback.md -->
## Contact support


<a href="en/form"> <!--ссылка, куда ведет кнопка. Если внутренняя ссылка, пишем без .md и .html --> 
  <span class="button">Send an email</span> <!--текст на кнопке--> 
</a>



<!-- source: en/_includes/styles/button.md -->

<!-- endsource: en/_includes/styles/button.md -->
<!-- endsource: en/_includes/feedback.md -->

[*level]: Levels in descending order of priority:
- Banner.
- Placement on the platform.
- Placement in the section.
- Placement on the site.
- Campaign.