Skip to Content
The new glomex player is released! 🎉View upgrade guide
AdvertiserAd Tag Specification

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:

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

ParameterDescription
environment.pageUrlThe page URL where the player is embedded (referrer)
environment.deviceThe user’s device type (e.g., desktop or mobile)
environment.consentData.gdprAppliesBoolean indicating whether GDPR applies for the request
environment.consentData.consentStringThe TCF 1.1 or 2.0 consent string provided by the publisher’s CMP
playlistContext.publisherIdThe publisher’s unique ID in the glomex system
content.createdAtTimestamp when content was selected for playback (can be used as a cache buster)
content.idThe content’s unique ID in the glomex system
content.category.nameThe main category the content is assigned to (e.g., sports, news, food & drink)
content.labelsContent 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 (|):

ModifierDescription
urlencodeURL-encodes the parameter value (recommended for values that may contain spaces or special characters)
booltointConverts boolean values to integers (true → 1, false → 0)
defaultvalueProvides 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.

Last updated on