Ad Tag Specification
This document outlines the technical specifications for ad tags used with the glomex Video Player, including supported standards, creative formats, and dynamic parameters. You can test your ad tags using our Ad Tag Tester tool.
Supported Ad Tag Standards
The glomex Video Player supports the following industry-standard ad tag formats:
Supported Creative Formats
The following creative formats are compatible with the glomex Video Player:
- Video MP4
- VPAID 2.0 
- SIMID 
Dynamic Ad Tag Parameters
The glomex Video Player can forward various dynamic values to advertiser ad tags. These parameters can be used for targeting and optimization on the ad server.
Available Parameters
Parameter | Description |
---|---|
environment.pageUrl | The page URL where the player is embedded (referrer) |
environment.device | The user’s device type (e.g., desktop or mobile) |
environment.consentData.gdprApplies | Boolean indicating whether GDPR applies for the request |
environment.consentData.consentString | The TCF 1.1 or 2.0 consent string provided by the publisher’s CMP |
playlistContext.publisherId | The publisher’s unique ID in the glomex system |
content.createdAt | Timestamp when content was selected for playback (can be used as a cache buster) |
content.id | The content’s unique ID in the glomex system |
content.category.name | The main category the content is assigned to (e.g., sports, news, food & drink) |
content.labels | Content labels assigned by glomex |
For additional required parameters or custom implementations, please contact our support team.
Parameter Modifiers
You can apply modifiers to parameters using the pipe symbol (|
):
Modifier | Description |
---|---|
urlencode | URL-encodes the parameter value (recommended for values that may contain spaces or special characters) |
booltoint | Converts boolean values to integers (true → 1, false → 0) |
defaultvalue | Provides a fallback value if the parameter is empty |
Example Implementation
https://your-ad-tag.com?cachebuster=[[content.createdAt]]&pub=[[playlistContext.publisherId]]&video=[[content.id]]&cat=[[content.category.name|urlencode]]&device=[[environment.device]]&referrer=[[environment.pageUrl|urlencode]]&gdpr_consent=[[environment.consentData.consentString|defaultvalue]]&gdpr=[[environment.consentData.gdprApplies|booltoint]]
Ensure all parameter placeholders are properly formatted with double square brackets. Incorrect formatting may result in parameters not being replaced correctly.
How It Works
The glomex system automatically replaces values inside double square brackets ([[parameter]]
) before the URL is called. This allows for dynamic ad tag generation based on the specific content, user, and environment context.