Available macros for tracking URLs

You can include any of the following macros in your third-party creatives, in third-party tracking URLs for your experiences, and in landing page URLs for your own use.

Some of the available macros, or their equivalents, are automatically included in experience tags.

Macro
Description
Automatically in experience tags for Advertising DSP?
${TM_CAMPAIGN_ID_NUM}
Tracks and reports the campaign ID from the DSP
Yes
${TM_SITE_ID_NUM}
Tracks and reports the site ID from the DSP
Yes
${TM_PLACEMENT_ID_NUM}
Tracks and reports the placement ID from the DSP
Yes
${TM_AD_ID_NUM}
Tracks and reports the ad ID from the DSP
Yes
${TM_CREATIVE_ID_NUM}
Tracks and reports the creative ID from the DSP
N/A
${TM_SESSION_ID}
Tracks and reports the session ID associated with the ad request. If a value isn’t returned, then Advertising Creative generates one.
Yes
${TM_ACC_EXPERIENCE_ID}
Tracks and reports the Advertising Creative experience ID
${TM_ACC_CREATIVE_ID}
Tracks and reports the Advertising Creative creative ID
${TM_RANDOM}
A randomly-generated number between 1 and 1,000,000. Commonly used for cache busting.
${TM_TIMESTAMP}
The UNIX® timestamp (in seconds)
${TM_CLICK_URL_URLENC}
(For third-party ads from vendors who require URL encoding) The encoded click redirect URL, which enables ad servers to track and count ad clicks. When a user clicks the ad, the macro is activated, and the click is recorded and counted for reporting purposes.
Yes
${TC_1}
Custom tracking code 1.
${TC_2}
Custom tracking code 2.
${TC_3}
Custom tracking code 3.
${TC_4}
Custom tracking code 4.
${TC_5}
Custom tracking code 5.
${GDPR_ENFORCED}
Whether GDPR enforcement is required for the bid request. Values: 1 = GDPR should be enforced, 0 = GDPR should not be enforced.
${GDPR_CONSENT}
The GDPR consent value received from the supply partner in the bid request. Typically: 1 = consent provided, 0 = no consent provided.
recommendation-more-help
advertising-help-creative