Supported URL Variables

Ad macros (tracking url variables) are quite useful especially when you use third party tracking systems to optimize your campaigns. We have currently supported a number of 3rd party tracking systems, including MAT, Appsflyer, Adjust, Tapstream, and Kochava.

Avazu Mobile DSP has now supported all sorts of ad macros, which are listed in the table below

Supported URL variables Field Info Example
{subid} Avazu Mobile DSP unique click ID "123"
{sha1_did} SHA1 hashed device ID (e.g. IMEI, MEID, or ESN) "dbdf168592551aefaa0edef6866528f017b9f088"
{md5_did} MD5 hashed device ID (e.g. IMEI, MEID, or ESN) "5b8129f47244e361844f9ce1d7b5a7f2"
{sha1_dpid} SHA1 hashed platform-specific ID (e.g. Android ID or UDID for iOS) "14d860db7d933029c63a6764f8789e20845774ab"
{md5_dpid} MD5 hashed platform-specific ID (e.g. Android ID or UDID for iOS) "d330f26cb568139a3408ed753a4cbc93"
{campaign_id} Campaign ID "52"
{campaign_name} Name of campaign "0610 InMobi ALL QPS=1000"
{creative_id} Creative ID "48"
{ad_size} width×height (e.g. “320×50") "320×50"
{exchange} Name of RTB exchange where impression is won "Smaato"
{carrier} Carrier used by mobile device (derived from IP) "T-Mobile"
{ip} IP address of user ""
{gps} GPS coordinates, up to 6 decimal precision (i.e. “1.305844,103.864444") "1.305844,103.864444"
{country} Country of visitor (ISO 3166-1 alpha-2 codes: AU, CA, US, CN) "us"
{os} Device operating system "android"
{os_version} Device operating system version "4.4.2"
{ua} Device user agent "Mozilla/5.0 (iPhone; CPU iPhone OS 7_1_1 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Mobile/11D201"
{device_vendor} Device make (e.g., “Apple”) "apple"
{device_model} Device model (e.g., “iPhone”) "iPhone"
{publisher_name} plain text name of the publisher "Adaptive Media, Inc"
{media} app OR site (e.g. "site") "app"
{source_name} plain text name for the site or app that the ad is being served on "Space_Defender"
{timestamp}  UNIX timestamp of RTB auction "1402831102"
{datetime} Date and time of RTB auction formatted as YYYY-MM-DD HH:MM:SS (GMT Time) "2014-06-15 19:18:20"
{category} IAB Category of site/app (e.g. "IAB1,IAB5,IAB9") "IAB1,IAB5,IAB9"
{domain} Domain of the site/app (e.g., “”). ""
{appstore_url} App store URL for an installed app; for QAG 1.5 compliance. ""
{bundle_id} Application bundle or package name (e.g.,; intended to be a unique ID across exchanges. ""
{idfa} Unique identifier on iOS6 and above "6D92078A-8246-4BA4-AE5B-76104861E7DC"
{googleadid} Google's advertising identifier "12048add-89a8-4d01-8578-9fb80aaea647"
{ifa} ID sanctioned for advertiser use in the clear (i.e.: idfa, googleadid...) "AEBE52E7-03EE-455A-B3C4-E57283966239"
{dnt} Standard “Do Not Track” flag as set in the header by the browser, where 0 = tracking is unrestricted, 1 = do not track "0"
{pageurl} URL of the page where the impression will be shown ""
{source_id} ID of the site or app that the ad is being servied on 9c8577b5237146fb93af7edacd5eb05a
{lat} Latitude from -90.0 to +90.0, where negative is south 46.0803
{lon} Longitude from -180.0 to +180.0, where negative is west 18.213821
{referrer_url} Referrer URL that caused navigation to the current page

    Feedback and Knowledge Base