Click URL's and Ad HTML fields support macros that will be replaced in runtime.

Macro

Description

Example replacement

{timestamp}

ASX cache buster, will be replaced by the Java expression System.currentTimeMillis()

1419326617939

{clickurl}

The unencoded click url.

http://adsby.bidtheatre.com/click?a=31943&s=0&z=0&url=

{clickurl_encoded}

The url encoded click url.

http%3A%2F%2Fadsby.bidtheatre.com%2Fclick%3Fa%3D31943%26s%3D0%26z%3D0%26url%3D%20

{protocol}

http or https depending on the protocol used when invoking the ad.

https

{xsid}

Exchange site id. Only valid when impressions is served via RTB.

4955285

{passback_zone}

This zones passback zone id as defined in the zone settings.

12321

{ip_country}

iso3 format of country of request given by Digital Element IP lookup

swe

{ip_region}

Region of request given by Digital Element IP lookup. Lookup table can be provided.

ab

{ip_city}

City of request given by Digital Element IP lookup

stockholm

{ip_org}

The organization associated with an IP’s corresponding WHOIS range

telenor

{ip_zip}

Zip code of request given by Digital Element IP lookup

112 53

{deal_id}

Deal id. Only valid for programmatic campaigns.

BID-12345-67890

{rnd}

Random positive number. Can be used as cache buster.

1979208692295355592

{xsiteurl}

The url encoded market site url. Only valid for programmatic campaigns.

http%3A%2F%2Fwww.dn.se

Google Analytics Macros

Macros can be provided in the input fields for Google Analytics, and will be replaced in the click URL at runtime.

Macro

Description

Example replacement

{utm_source}

Can be used in the utm_source field and will be replaced by the url encoded exchange site url.

http%3A%2F%2Fwww.dn.se

{utm_content}

Can be used in the utm_content field and will be replaced by the url encoded ad name.

Sync Pixel Macros

Will be replaced in the sync pixel URL.

Macro

Description

Example replacement

{protocol}

http or https depending on the protocol used when invoking the event that triggered the sync.

https

{xsid}

Exchange site id. Only valid when impressions is served via RTB.

4955285

{campaign_id}

Campaign id

60171

{campaign_name}

Campaign name. URL encoded.

display%20campaign

{adv_id}

Advertiser id

123

{ad_id}

Ad id

123

{sup_id}

Supplier id. Only valid for programmatic campaigns.

123

{tag_id}

URL encoded placement tag id as defined by the Market. Only valid for programmatic campaigns.

14746253

{ad_dimension}

Displayed as ad width + "x" + ad height.

980x240

{network_id}

The account id.

9

{xsiteurl}

The url encoded exchange site url. Only valid for programmatic campaigns.

http%3A%2F%2Fwww.dn.se

Did this answer your question?