Tracking Macros

List of Macros

The following macros can be used in destination click URLs, JS/Iframe tags or impression tracker.

Macro

Explanation

[ADX_TRANSACTION_ID]

Passes the unique ID # of the ad for the impression.

[ADX_BUNDLE_ID]

Passes a numeric ID (for Apple) or bundle name (for Google) specific to the mobile app responsible for generating the impression. Example values: “383763″ (Apple) or “com.google.mygoogleapp” (Google) (mobile only)

[ADX_APP_URL]

Passes a string that outputs the origin or type of application responsible for the impression. Example value: “https://itunes.apple.com/us/app/angry-birds-classic/id343200656?mt=8” (Apple) or “https://play.google.com/store/apps/details?id=com.lonedwarfgames.tanks.android&hl=en” (Google) (mobile only)

[ADX_APP_NAME]

Passes name of app that the ad is being served on (e.g.”Tank Recon 3D (Lite)”)

[ADX_APP_VER]

Passes version of app that the ad is being served on

[adx_publisher_id]

Passes the site ID of the publisher (e.g. 30_692ff3dff09f)

[adx_network_name]

Passes the name of the exchange for the impression/click.

[ADX_ADS_REFERRER]

When used in a destination click URL or impression tracker URL, it passes Referrer URL where ad is viewed. (e.g.”http://www.bbc.com/news/business-44232539″)

[ADX_ADS_DOMAIN]

When used in a destination click URL or impression tracker URL, it passes only the domain name. (e.g. “bbc.com”)

[adx_camp_code]

Passes the unique ID # of the campaign for the impression/click.

[adx_banner_code]

Passes the unique ID # of the Banner for the impression/click.

[adx_zone_size]

Passes the unique ID # of the ad size for the impression/click.

[ADS_WIDTH]

Width of the ad unit as a string ad. (e.g. “320”)

[ADS_HEIGHT]

Height of the ad unit as a string ad. (e.g. “50”)

[ADX_USER_IP]

Passes the IP address of the user

[ADX_CARRIER]

Passes the name of the mobile carrier for the impression/click.

[adx_geo_country]

Passes the country of visitor (ISO 3166-1 alpha-2 codes: AU, CA, US, CN

[adx_user_os]

Passes the Device operating system

[ADX_USER_UA]

Passes the Device user agent

[ADX_LAT]

Passes the Latitude

[ADX_LONG]

Passes the Longitude

[ADX_DEVICE_MAKE]

Passes the name of the Device make (e.g., “Apple”)

[ADX_DEVICE_MODEL]

Passes the name of the Device model (e.g., “iPhone”)

[ADX_DEVICE_ID]

Unhashed mobile advertising identifier (IFA) – specifically, Google Advertising ID or iOS IDFA, when available. (mobile only)

[ADX_DEVICE_IDFA]

Unhashed IDFA, when available. (mobile only)

[ADX_ADV_ADID]

Unhashed Google Advertising ID, when available. (mobile only)

[ADS_CLICK_URL]

Inserts click tracking link.

[adx_txn_id]

Passes a unique identifier representing the current click/impression, further used for tracking conversions.

[ADX_ADS_CACHE]

Passes a random number “Cache Buster”.

[ADX_ADS_MIMES]

Passes mime types.


Copyright © 2019 All Rights Reserved.