All Macros

Term Comment
%bundle% – Bundle ID Dynamically inserts the app’s unique bundle identifier into tracking or ad requests when available.
%pub_id% – Publisher Company Dynamically inserts the unique identifier of the publisher’s parent company into the request.
%domain% – Publisher Domain Dynamically inserts the encoded domain of the publisher’s site into the request.
%domain_unescaped% – Publisher Domain Unescaped Dynamically inserts the publisher’s domain in its original, non-encoded format into the request.
%page_unescaped% – Page of a website Dynamically inserts the full webpage URL in its original, non-encoded format into the request.
%placement_id% – App or site ID Dynamically inserts the exchange-provided app or site identifier for the ad placement into the request.
%placement_name% – Publisher Name Dynamically inserts the publisher’s app or site name as provided by the exchange into the request.
%pub% – App or site keyword hashed Provides a hashed identifier for the app or site, enabling anonymized publisher-level tracking and analysis.
%pub_raw% – App or site keyword not encoded, unescaped Dynamically inserts the raw, unencoded publisher keyword exactly as received from the bid request.
%app_storeurl% – Publisher URL Dynamically inserts the app’s store URL when available in the bid request.
%app_ver% – App Version Dynamically inserts the app version as provided in the bid request when available.
%page% – App or site page Dynamically inserts the specific page or section of the app or website where the ad is shown.
%deal_id% – Deal ID Dynamically inserts the deal identifier associated with the specific ad transaction
%deal_name% – Deal Name Dynamically inserts the descriptive name of the deal into the request.
%device_type% – Device Type Dynamically inserts the device category detected in the bid request, when available.
%device_make% – Device Make Dynamically inserts the device manufacturer brand derived from the bid request or user agent.
%device_model% – Device Model Dynamically inserts the specific device model as identified in the bid request or user agent.
%os% – Operating System Dynamically inserts the device’s operating system as provided in the bid request.
%osv% – Operating System Version Dynamically inserts the device’s operating system version as specified in the bid request.
%language% – Device Language Dynamically inserts the device’s language setting based on SSP data or campaign targeting rules.
%udid% – User ID Dynamically inserts the device’s unique user identifier from the bid request for tracking purposes.
%udid_raw% – User ID raw Dynamically inserts the raw, unencrypted device advertising ID (IDFA or GAID) from the bid request.
%udid_hash% – User ID Hash Dynamically inserts a hashed (MD5) version of the device ID to enable secure user identification in external integrations.
%tifa% – CTV – TIZEN Samsung Dynamically inserts the TIFA identifier for Samsung Tizen CTV devices when available in the bid request.
%lgudid% – CTV – LG Returns the LG device-specific identifier for impressions delivered via LG’s connected TV platform, supporting accurate measurement and targeting.
%amazonid% – CTV – Amazon Fire TV Captures the Amazon Advertising ID for impressions served on Fire TV devices, enabling effective tracking and audience targeting.
%rida% – CTV – Roku Provides the Roku Identifier for Advertising (RIDA) when an ad is delivered on Roku devices, supporting tracking and campaign attribution.
%chromecastid% – CTV – Chromecast Returns the Chromecast advertising identifier for impressions served on Chromecast devices, enabling precise tracking and audience measurement.
%ip% – IP Address Returns the IP address tied to the original ad impression, ensuring consistent attribution even when tracking conversions.
%idtype% – ID Type Identifies the specific device or user ID type provided by the ad exchange, helping standardize tracking and data interpretation.
%gdpr% – Privacy – GDPR Indicates whether GDPR applies to the bid request (1 or 0), enabling compliant data handling while consent details are passed separately via the consent parameter.
%consent% – Privacy – GDPR, CCPA Returns the applicable user consent signal in the required format (TCF, CCPA, or binary), ensuring compliance for tracking and data usage.
%consent_unesc% – Privacy – GDPR, CCPA Returns the applicable user consent signal in the required format (TCF, CCPA, or binary), ensuring compliance for tracking and data usage.
%dnt% – Privacy – DNT – Do Not Track Signals the user’s Do Not Track preference, ensuring no profiling or tracking is performed when the flag is enabled.
%audience_id% – Segment ID Inserts the Targetoo audience or segment ID applied in campaign targeting, enabling precise audience-level tracking and reporting.
%audience_description% – Audience / Segment description Returns the descriptive label of the selected audience segment, providing contextual insight even though it’s not available in reporting metrics.
%impressionid% – Impression ID Provides a unique identifier for each impression across tracking URLs and creatives, ensuring consistent attribution and measurement.
%ts% – TS – Time stamp Generates a unique request-based value to prevent caching, ensuring each call is treated as a fresh event for accurate tracking.
%exchange% – Ad Exchange Identifies the ad exchange source of the impression, defaulting to “unknown” when the exchange name is unavailable.
%environment% – App vs Web Specifies whether the ad was delivered in a web browser or within an app, enabling environment-based analysis and targeting
%rtb_categories% – Category on OpenRTB Returns the content categories provided by the exchange (typically IAB codes), enabling contextual targeting with multiple values delivered as a comma-separated list.
%ms_categories% – mediasmart categories Provides mediasmart’s mapped content categories aligned with internal reporting and targeting, delivered as comma-separated values.
%isp% – ISP – Internet Service Provider Identifies the user’s internet service provider based on the IP in the bid request, supporting network-level analysis and targeting.
%carrier% – Mobile Operator Returns the user’s mobile carrier from the bid request, falling back to ISP data when unavailable on mobile connections.
%connection_type% – Connection type – Wifi 3G 4G 5G Indicates the user’s network type (WiFi or mobile like 3G/4G/5G), derived from device data or IP to support connectivity-based targeting.
%user_agent% – User Agent – Browser Captures the browser’s user agent string, providing detailed information about the device, OS, and browser for analysis and targeting.
%country% – Geo – Country (3-letter code) Returns the country of the impression using ISO codes (3-letter or 2-letter), determined from bid request data or fallback IP-based geolocation.
%country2% – Geo – Country (2-letter code) Returns the country of the impression using the 2-letter ISO code, derived from bid data or IP-based geolocation, with a 3-letter variant also available.
%region% – Geo – Region Provides the geographic region of the impression based on IP-derived location data, enabling regional targeting and analysis.
%department% – Geo – Department Returns the subregional location of the impression derived from IP data, enabling more granular geographic targeting and reporting.
%city% – Geo – City Identifies the city where the impression originated using IP-based geolocation, supporting localized targeting and insights.
%zipcode% – Geo – ZIP Returns the ZIP or postal code from the bid request, reflecting exchange-provided data rather than campaign targeting settings.
%area_id% – Geo – Area ID Inserts the unique identifier of the geofenced area used in campaign targeting, enabling precise location-based tracking and reporting.
%area_name% – Geo – Area Name – self defined Returns the custom name of the targeted geofencing area as defined in your geolist, enabling clear identification in tracking and reporting.
%area_text% – Area Text – self defined Provides the custom description of the geofencing area from your geolist, adding contextual detail to location-based tracking.
%loc% – Geo – Location (lat:long) Returns the latitude and longitude of the impression when available, enabling precise geo-level tracking and analysis.
%lat% – Geo – Latitude (lat) Provides the latitude of the impression location when available in the bid request, supporting precise geolocation tracking.
%lon% – Geo – Longiture (long) Provides the longitude of the impression location when available in the bid request, enabling accurate geolocation tracking.
%weather% – Weather conditions Provides the weather conditions at the time and location of the impression, enabling context-aware targeting and analysis.
%seat_id% – Deals – Seat ID Returns the buyer seat identifier associated with the deal, enabling precise tracking and reporting of deal-specific activity.
%advertiser_name% – Advertiser Name – Self defined Inserts the advertiser name defined in the campaign, enabling clear identification in tracking and reporting.
%advertiser_domain% – Advertiser Domain – Self defined Returns the advertiser’s domain as defined in the campaign, supporting brand identification and verification in tracking.
%campaign_id% – Campaign ID Provides the unique identifier of the control campaign, consistent across all strategies within the same campaign for unified tracking.
%parent_campaign_name% – Parent Campaign name Returns the name of the control (parent) campaign, enabling consistent identification across all associated strategies.
%campaign_name% – Campaign Name Inserts the campaign name as defined by you, enabling clear identification in tracking and reporting.
%strategy_id% – Strategy ID Returns the unique strategy identifier, defaulting to the campaign ID when referring to the control campaign.
%strategy_name% – Strategy Name – self defined Inserts the strategy name as defined in the campaign, defaulting to “control” when referring to the main control campaign.
%eventid% – Event ID Returns the advertiser ID associated with the campaign, enabling consistent event-level tracking and attribution.
%sk_network_id% – SKAdNetwork ID Provides the SKAdNetwork identifier used for the campaign, enabling attribution and tracking within Apple’s SKAdNetwork framework.
%sk_campaign_id% – Campaign ID within SKAdNetwork Returns the SKAdNetwork campaign identifier (0–99), enabling attribution of installs and events within Apple’s SKAdNetwork framework.
%tag% – Formats – Tag ID Returns the placement’s tag ID, enabling precise identification of the ad slot for tracking and reporting.
%creative% – Formats – Creative ID Provides the unique creative identifier for the ad, enabling detailed tracking and performance analysis at the creative level.
%creative_name% – Formats – Creative Name – Self defined Inserts the creative name as defined in the campaign, enabling easy identification in tracking and reporting.
%creative_type% – Formats – Creative Type Specifies the format or type of the creative served, enabling performance analysis across different ad formats.
%creative_size% – Formats – Size Returns the dimensions of the ad creative (e.g., 320×50), enabling size-based performance tracking and optimization.
%width% – Formats – Creative Width Provides the width of the creative in pixels, enabling precise size-level tracking and analysis.
%height% – Formats – Creative Height Provides the height of the creative in pixels, supporting detailed size-based tracking and reporting.
%video_content_name% – Formats – Video Content Name Returns the name of the video content (e.g., series or title) from VAST data, enabling contextual video-level tracking and analysis
%ext_ad_loaded% – Ad serving – Ad Loaded Triggers when the ad is successfully loaded on the publisher’s page, enabling measurement of ad load events.
%ext_ad_viewed% – Ad serving – Ad viewed Triggers when the ad is actually viewed by the user, enabling measurement of viewability and engagement.
%ext_ad_error% – Ad serving – Ad error Fires when an ad fails to load on the publisher’s side, enabling tracking and diagnostics of delivery errors.
%click_url_unesc% – Click macros Tracks the click event and redirects users to the final destination URL using an unescaped format.
%click_url_esc% – Click macros Tracks clicks and redirects to the final destination URL with a single level of encoding applied.
%click_url_esc_esc% – Click macros Tracks clicks and redirects to the destination URL with double encoding applied, ensuring compatibility with nested tracking systems.
%dest_url_unesc% – Click macros – Destination Provides the final destination URL of the creative in an unescaped format for direct redirection.
%dest_url_esc% – Click macros – Destination Returns the creative’s destination URL with a single level of encoding applied for tracking compatibility.
%dest_url_esc_esc% – Click macros – Destination Returns the destination URL with double encoding applied, ensuring compatibility with layered tracking and redirect systems.
%target_url_unesc% – Click macros – Target Provides the target and final destination URL in an unescaped format, enabling direct and transparent redirection.
%target_url_esc% – Click macros – Target Returns the target and destination URL with a single level of encoding, ensuring proper handling in tracking chains.
%target_url_esc_esc% – Click macros – Target Returns the target and destination URL with double encoding applied, ensuring compatibility with complex tracking and redirect chains.
%conversion1% – Conversion 1 Triggers the tracking URL for Conversion 1, enabling measurement of post-click actions and optimization based on conversion events.
%conversion2% – Conversion 2 Triggers the tracking URL for Conversion 2, enabling measurement and optimization of additional post-click conversion events.
%conversion3% – Conversion 3 Triggers the tracking URL for Conversion 3, allowing measurement and optimization of additional post-click conversion events.
%conversion4% – Conversion 4 Triggers the tracking URL for Conversion 4, enabling reporting and optimization of additional post-click conversion events.
%conversion5% – Conversion 5 Triggers the tracking URL for Conversion 5, allowing measurement and optimization of multiple post-click conversion events.
%trackvideo-start% – Video tracking – Video start Fires when video playback begins, enabling tracking of video start events for performance analysis.
%trackvideo-first-quartile% – Video tracking – 25% Triggers when the video reaches 25% playback, enabling tracking of early viewer engagement.
%trackvideo-midpoint%- Video tracking – 50% Triggers when the video reaches 50% playback, enabling measurement of mid-point viewer engagement.
%trackvideo-third-quartile% – Video tracking – 75% Triggers when the video reaches 75% playback, enabling tracking of advanced viewer engagement.
%trackvideo-complete% – Video tracking – 100% Triggers when the video playback is fully completed, enabling tracking of total viewer engagement.
%trackvideo-skip% – Video tracking – Skipped Triggers when the viewer skips the video, enabling tracking of skip behavior and engagement drop-off.
%mstx% – for Web tracking Ensures accurate attribution by linking each conversion back to the corresponding click and campaign.