URL Macro Variables Guide
Utilize these predefined macro variables for dynamic URL customization. Below is a breakdown of each variable and its typical replacement value.
Macro Variables
Variable | Description | Example Replacement |
---|---|---|
| A unique string to prevent caching of content. | Randomly generated string |
| The width of the video in pixels. |
|
| The height of the video in pixels. |
|
| GDPR compliance information. (Usually empty if GDPR is not applicable) |
|
| Indicates whether the user has consented to cookies. |
|
| The name of your application/site as configured. |
|
| A unique identifier for your application, typically combining platform name and the app's name. |
|
| The latitude coordinate from the user's IP location. |
|
| The longitude coordinate from the user's IP location. |
|
| A timestamp variable, often used for cache busting or tracking. |
|
| The type of device used, determined by checking if the device is mobile or not. |
|
| The operating system of the device. |
|
| User's IP address, used for geotargeting and compliance with regional ad regulations. |
|
| A unique identifier for your application, typically combining platform name and the app's name. |
|
| URL of the app on the app store, used in certain promotional campaigns. |
|
| A unique identifier of the user's device, important for frequency capping and targeting. |
|
| Indicates compliance with US privacy laws, essential for advertisers in the United States. |
|
| Indicates the browser or device user agent string of the user. Essential for identifying user environment. | The user agent string from the HTTP request, or |
| Indicates the tracking status of user, where 1 signifies the tracking is disabled. |
|
| Represents the Identifier for Advertising (IFA), a unique identifier used for tracking and advertising purposes on mobile devices. | Advertising ID for Android and iOS Session-based UUID for other cases |
| Indicates the type of Identifier for Advertising (IFA) being used. |
|
| Classifies content according to IAB content ta. | E.g., 'IAB1' for Arts & Entertainment, 'IAB2' for Automotive. |
| This will only be accessible when viewed in a browser; it will not be available on the app | https://yoursite.com |
| It will display the content URL, or you can also refer to it as the watch video URL | https://yoursite.com/watch/{content_id}/{content_title} |
Implementation
These macros are implemented within URLs in requests. They dynamically replace with relevant data.
Notes
It's important to ensure that these macros are correctly implemented to maintain the effectiveness and legal compliance of the ad delivery system.
Some macros might be optional or used only in specific scenarios based on the campaign requirements and regulations.
Last updated