Deprecated Macros:
Please note the macros have changed. All macros with the __AG... label have been changed to __GE... Any ad tags referencing the __AG... Values should be changed out immediately.

Ad Macros

Macros are small bits of code that can be placed into your VAST/VPAID tags to dynamically pass data from the player to your tags. Everytime the player attempts to call your tag, it will replace all of the added macros with the specified information.



View Example Tag
Key Description Full Macro
AG_P0 Application Id.
__GE_IMPR_HINT[AG_P0]__
AG_P1 Component Id.
__GE_IMPR_HINT[AG_P1]__
AG_P2 Destination Id.
__GE_IMPR_HINT[AG_P2]__
AG_P3 Playlist Id.
__GE_IMPR_HINT[AG_P3]__
AG_P4 Video Id
__GE_IMPR_HINT[AG_P4]__
AG_SESSID Current player session Id.
__GE_IMPR_HINT[AG_SESSID]__
autoPlay Autoplay.
__GE_IMPR_HINT[autoPlay]__
autoPlay Boolean Autoplay Boolean
__GE_IMPR_HINT[autoPlay]:BOOL__
itemLabel Label set on the video content.
__GE_IMPR_HINT[itemLabel]__
media Playlist URL.
__GE_IMPR_HINT[media]__
playerHeight Height of the player, in pixels.
__GE_IMPR_HINT[playerHeight]__
playerType Type of player.
__GE_IMPR_HINT[playerType]__
playerWidth Width of the player, in pixels.
__GE_IMPR_HINT[playerWidth]__
playlistAccountId OneScreen Id of the publisher.
__GE_IMPR_HINT[playlistAccountId]__
playlistLabel Label set on the playlist itself. (Not the content)
__GE_IMPR_HINT[playlistLabel]__
cachebuster Generate a random number/cachebuster
__GE_RANDOM_NUMBER__
referrer Referrer information of the player (decoded).
__GE_IMPR_HINT[referrer]__
Referrer information of the player (encoded).
__GE_IMPR_HINT[referrer]:URL__
videoAccountId OneScreen Id of the content owner.
__GE_IMPR_HINT[videoAccountId]__
videoDesc Short description of the content.
__GE_IMPR_HINT[videoDesc]__
videoDuration The duration of the content in milliseconds.
__GE_IMPR_HINT[videoDuration]__
videoId OneScreen Id of the video content.
__GE_IMPR_HINT[videoId]__
videoIdentifier 3rd party video Identifier.
__GE_IMPR_HINT[videoIdentifier]__
videoKeywords keywords of current video
__GE_IMPR_HINT[videoKeywords]__
videoKeywordsPipe keywords of current video returned as an encoded string
__GE_IMPR_HINT[videoKeywordsPipe]__
videoTitle Title of video.
__GE_IMPR_HINT[videoTitle]__
videoUrl URL of the video content.
__GE_IMPR_HINT[videoUrl]__
volume Volume setting of the player.
__GE_IMPR_HINT[volume]__
widgetId OneScreen Id of the application.
__GE_IMPR_HINT[widgetId]__
cv1 custom value for user to add additional data (example: id, category etc)
__GE_IMPR_HINT[cv1]__