Available Macros

Updated 3 weeks ago by Ibrahim Celebi

[CLICK_ID]

Returns a unique click ID

[RANDOM_NUMBER]

Ensures that a fresh call is made to the ad server every time the code is executed

[BID_PRICE]

Returns winning price of the impression

[UNENCODED_CLICK_REDIRECT]

Inserts an unencoded click-redirect URL into your creative markup

[ENCODED_CLICK_REDIRECT]

Inserts an encoded click-redirect URL into your creative markup

[USER_ID]

Returns a unique ID of the visitor

[IMPRESSION_ID]

Returns a unique impression ID

[IFA]

Returns a device IFA/IDFA

[USERAGENT]

Returns a browser name

[IP]

Returns a user’s IP

[LAT]

Returns latitude, where negative is south

[LON]

Returns longitude, where negative is north

[SITE_ID]

Returns a unique website ID

[PUBLISHER_ID]

Returns a unique ID of the publisher that can contain several websites

[SSP_ID]

Returns a unique SSP ID

[PAGE_URL]

Returns a page URL

[DOMAIN]

Returns the domain name

[PROTOCOL]

Returns used protocol (e.g. http, https)

[PLACEMENT_ID]

Returns a unique ad placement ID

[COUNTRY_CODE]

Returns a unique country code

[COUNTRY]

Returns a country name

[REGION]

Returns a region name

[CITY]

Returns a city name

[PLACE]

Returns a place name

[APP_NAME]

Returns an application name

[APP_BUNDLE]

Returns a unique platform specific application identifier

[ORGANIZATION_NAME]

Returns an organization name

[CAMPAIGN_NAME]

Returns a campaign name

[CREATIVE_NAME]

Returns a creative name

[CAMPAIGN_ID]

Returns a unique campaign ID in our system

[CREATIVE_ID]

Returns a unique creative ID in our system

[WIDTH]

Returns a banner width

[HEIGHT]

Returns a banner height

[VIDEO_DURATION]

Returns a video duration

[APP_STOREURL]

Returns the store URL of the app

[DATETIME]

Returns date and time

[DBL-ENCODED_CLICK_REDIRECT]

Inserts a double encoded click-redirect URL into your creative markup

[DNT]

Returns a do-not-track status (a proposed HTTP header, to disable tracking by web services)

[HTTP_REFERER]

Returns HTTP referer of the visitor

[KEYWORD]

Returns a unique keyword

[PUB_CONTENT_CATEGORY]

Returns a publisher site category (IAB)

[REQUEST_ID]

Returns a bid request ID

[TIMESTAMP]

Returns a unique timestamp


How did we do?