Macros

You can use the macros with the 3rd-party ad tag. Macros are built-in tracking variables (or, more simply, placeholders) that allow specifying additional parameters and details provided with a tag. When an ad serves, ad server replaces with a real value to provide it to an advertiser. Typically, macros are used to optimize fill-rate, track the user behavior and store data about the individual user or device to which an ad is shown.

Note: Macros allow tracking information on the advertiser side. This information will not be available in reports on the DSP side.
To add macros, click the ‘Tag macro list’. You will see all available macros. Choose the parameters you need and add them to tag manually. To do so, copy a macro from the first column, add a question mark '?' after the link itself, and then paste a pair of macro in the following format: SUB_ID=[SUB_ID]

Note: separate pairs of macros with an ampersand sign '&', like ...SUB_ID=[SUB_ID]&SOURCE_ID=[SOURCE_ID]&CARRIER=[CARRIER]...

Note: You can only use macros from the Tag macro list. Macro is case sensitive.

Here is the list of macros available at the moment, and a brief description of their purpose:
[HASH] Unique Identificator
[CB] Random Unique String
[SUB_ID] Request ID
[SITE_APP_ID] Site ID / Application ID (SSP Partner)
[SITE_DOMAIN_APP_NAME] Site Domain / Application Name
[SITE_NAME] Site Name
[SITE_APP_URL] Full Site URL / Application Store URL
[APP_BUNDLE] Application Bundle Name
[PUBLISHER_ID] Publisher ID
[SOURCE_ID] Source ID (SSP Partner)
[SOURCE] Web Domain or App Bundle ID
[USER_ID] User ID
[ADVERTISER_ID] Advertiser ID
[CAMPAIGN_ID] Campaign ID
[CREATIVE_ID] Creative ID
[CREATIVE_NAME] Your creative name (Set by advertiser)
[CLICK_ID] Unique click identifier
[IAB_CAT] Site / Application Сategory
[WIDTH] Placement Width
[HEIGHT] Placement Height
[GEO_LAT] User's Latitude
[GEO_LON] User's Longitude
[COUNTRY] User's Country
[CITY] User's City
[IFA] User's Device IFA. (For Android and iOS devices)
[IP] User's IP Address
[USER_AGENT] User's Browser Agent
[CARRIER] Carrier
[OS] User's Operation System
[OSV] User's Operation System Version
[BROWSER] User's Browser
[BROWSER_VER] User's Browser Version
[DATE_TIME] Date in Format Y-M-D H:M:S
[PAGE_URL] page site
[VIDEO_MIME] Video MIME Type (i.e. 'video/x-ms-wmv' or 'video/x-flv')
[GDPR] For requests from Europe. Default 0
[CONSENT] Consent string for requests from Europe

For example, tag with PUBLISHER_ID and IAB_CAT macros:
<script src=" https://site.com/creatives/main.js?dti=full&PUBLISHER_ID=[PUBLISHER_ID]&IAB_CAT=[IAB_CAT]"></script>
Later, when this tag is used to display an ad to the user, the values in square brackets will be replaced with real information (in this case, the identifier and the category/categories).

Note: Macros allow tracking information on the advertiser side. This information will not be available in reports on the DSP side.