> For the complete documentation index, see [llms.txt](https://knowledgebase.offer18.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.offer18.com/ru/set/integraciya-mobilnoi-atribucii/appsflyer/globalnyi-url-atribucii.md).

# Глобальный URL атрибуции

#### **URL оффера**

```
https://app.appsflyer.com/com.appsflyer.app?af_sub_siteid={sub_aff_id}&pid=partner_int&af_siteid={aff_id}&af_click_lookback=30d&clickid={tid}&c={offername}&af_c_id={offerid}&advertising_id={googleaid}&android_id={androidid}&idfa={iosidfa}&oaid={deviceid}
```

<table data-header-hidden><thead><tr><th width="249.1682814836629"></th><th width="150"></th><th width="319.49514567824684"></th></tr></thead><tbody><tr><td><strong>Имя макроса Offer18</strong></td><td><strong>Идентификатор макроса</strong></td><td><strong>Описание</strong></td></tr><tr><td>Click ID</td><td>{tid}</td><td>Уникальный для платформы макрос Click ID</td></tr><tr><td>Affiliate ID / Publisher ID</td><td>{aff_id}</td><td>Передайте Affiliate ID в URL атрибуции</td></tr><tr><td>ID субпартнёра</td><td>{sub_aff_id}</td><td>Передайте Sub-Affiliate ID в URL атрибуции</td></tr><tr><td>ID кампании</td><td>{offerid}</td><td>Передайте OfferID в URL атрибуции <br>(требуется для iOS)</td></tr><tr><td>Название кампании </td><td>{offername}</td><td>Передайте название кампании в URL атрибуции</td></tr><tr><td>Рекламный идентификатор Google</td><td>{googleaid}</td><td>Передайте рекламный идентификатор Google в URL атрибуции</td></tr><tr><td>Рекламный идентификатор iOS</td><td>{iosidfa}</td><td>Передайте рекламный идентификатор iOS в случае iOS-кампаний в URL атрибуции</td></tr><tr><td>ID устройства</td><td>{deviceid}</td><td>Передайте уникальный идентификатор устройства в URL атрибуции</td></tr><tr><td>Android ID</td><td>{androidid}</td><td>Передайте Android ID в URL атрибуции</td></tr></tbody></table>

<figure><img src="/files/d3201bbefcb1ca65ac7153ae964ed9ec05848256" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://knowledgebase.offer18.com/ru/set/integraciya-mobilnoi-atribucii/appsflyer/globalnyi-url-atribucii.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
