Tag variables are runtime variables within FV Player VAST configuration. Their purpose is to ensure that the required elements of information are inserted into an ad tag by FV VAST, before it calls the ad provider.
The tag coming from an ad provider or server does not have FV VAST variables declared. Generally it will look like this:
http://v.admedia.com/?id=YOUR_ID_HERE&page_url=[ENCODED_PAGE_URL]&autoplay=[0,1]&content=[CONTENT_CODE]&title=[VIDEO_TITLE]&video_id=[VIDEO_ID]
There are dynamic tags that need to be defined and replaced (their type depends on the ad agency):
page_url => [permalink] instead of [ENCODED_PAGE_URL]
autoplay => [LR_autoplay] instead of [0,1]
content => [post_id] instead of [CONTENT_CODE]
title => [post_title] instead of [VIDEO_TITLE]
video_id => [post_id] instead of [VIDEO_ID]
In the end, your URL should look like this:
http://v.admedia.com/?id=YOUR_ID_HERE&page_url=[permalink]&autoplay=[LR_autoplay]&content=[post_id]&title=[post_title]&video_id=[post_id]
When FV Player VAST makes the ad call, the final ad tag will have the ad tag variables replaced with real values.
Here is the list of tags FV Player VAST supports:
[permalink] __page-URL__ |
Inserts the URL of the web page containing FV VAST; “ref_page_URL”; “content” |
[random_number] __random-number__ [CACHEBUSTING] |
Inserts a random number – often used for cache busting “CB” |
[timestamp] | Inserts a timestamp value |
[player_height] __player-height__ |
Inserts the height of the player; “player_height” |
[player_width] __player-width__ |
Inserts the width of the player; “player_width” |
[ip_addr] | It’s the client IP address. It might be required if the ad is not requested from client’s browser. |
[media_file_url] | URL of the video file which plays in the player. |
[post_excerpt] | Short excerpt of the article text. In WordPress excerpt is usually autogenerated. |
[post_id] | Post ID; “content”, “video_id” |
[post_title] | Post title; “title” |
[post_category] | Comma separated list of post category slugs. |
[user_agent] [DEVICEUA] |
The device user agent string – browser and device information. |
[LR_VIDEO_ID] | It is the same as [media_file_url]. It can help you to figure out what posts generate the most ad revenue. It is set to output post ID. |
[LR_TITLE] | Post title. It is similar to [post_excerpt]. It can be used for tracking purposes. |
[LR_CONTENT] | LiveRail tags. They allow you to target the ad better by adding a tag which relates to the video content. |
[LR_AUTOPLAY] | Autoplay setting: ON or OFF; “autoplay” |
[cookie:Cookie Name] | Gives you the value of the cookie named “Cookie Name” or empty string |
Leave a Reply