Below is a list of the macros currently supported by XR’s ad-serving environment. Macros act as dynamic variables that populate with real-time information at the moment an ad is rendered.


Standard macros

{{er_advertiser}} - Advertiser name
{{er_mediaplan}} - Media Plan name
{{er_vendor}} - Publisher/Vendor name
{{er_placement_group}} - Placement Name
{{er_creative}} - Video name
{{er_advertiser_id}} - Advertiser ID
{{er_mediaplan_id}} - Media Plan ID
{{er_vendor_id}} - Publisher/Vendor ID
{{er_placement_group_id}} - Placement ID
{{er_creative_id}} - Video ID
{{er_referrer}} - Referrer url
{{er_isci}} - Ad ID/ISCI code in a 3rd party URL
${US_PRIVACY} - value for the consumer’s privacy preferences in regard to CCPA as signaled by the web publisher
${GDPR_CONSENT_1002} & ${GDPR} - values for the consumer’s privacy preferences in regard to GDPR as signaled by the web publisher
${GPP_STRING_1002} & ${GPP_SID}- value for the consumer’s privacy preference in regard to GPP, as signaled by the web publisher
${DC_DBM_TOKEN} - value to prevent ghost or duplicate placements when using wrapped third-party ad tags with a Campaign Manager 360 tracking ad.
 

Cachebuster macros

[timestamp] - Timestamp in epoch
{{timestamp}} - Timestamp in epoch
{{cachebuster}} - Timestamp in epoch
[RANDOM] - Timestamp in epoch
{{er_timestamp}} - Timestamp in epoch
{{er_cachebuster}}
%%CACHEBUSTER%% 
%CACHEBUSTER%
[CACHEBUSTER]

Items in this section