# Global Attribution URL

#### **Offer 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 Macro Name</strong></td><td><strong>Macro Identifier</strong></td><td><strong>Description</strong></td></tr><tr><td>Click ID</td><td>{tid}</td><td>Platform unique Click ID macro</td></tr><tr><td>Affiliate ID / Publisher ID</td><td>{aff_id}</td><td>Pass Affiliate ID in Attribution URL</td></tr><tr><td>Sub Affiliate ID</td><td>{sub_aff_id}</td><td>Pass Sub-Affiliate ID in Attribution URL</td></tr><tr><td>Campaign ID</td><td>{offerid}</td><td>Pass OfferID in Attribution URL <br>(required for iOS)</td></tr><tr><td>Campaign Name </td><td>{offername}</td><td>Pass Campaign Name in Attribution URL</td></tr><tr><td>Google Advertising ID</td><td>{googleaid}</td><td>Pass Google Advertising ID in Attribution URL</td></tr><tr><td>iOS Advertising ID</td><td>{iosidfa}</td><td>Pass iOS advertising ID in case of IOS Campaigns in Attribution URL</td></tr><tr><td>Device ID</td><td>{deviceid}</td><td>Pass Unique Device id in Attribution URL</td></tr><tr><td>Android ID</td><td>{androidid}</td><td>Pass Android ID in Attribution URL</td></tr></tbody></table>

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


---

# Agent Instructions: 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:

```
GET https://knowledgebase.offer18.com/network/mobile-attribution-integration/appsflyer/global-attribution-url.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
