A VAST (Video Ad Serving Template) tag is a HTTP or HTTPS URL that points to a VAST XML feed. The VAST XML URL feed contains information about the video ad, including the video file, length, companion banner and more. (you can read more about VAST in the IAB spec here: http://www.iab.net/guidelines/508676/digitalvideo/vsuite/vast)
The video player uses the VAST XML URL feed to instruct it when and what video ad to play. Without it the video player would be unable to play a video advertisement. The VAST XML URL feed is in a standardized format that all video players can understand, so if the feed does not conform to this standard then the video player will be unable to understand and play it.
Integrating a VAST Tag
In order to consume a VAST XML URL feed, it can be entered directly into an ad server, which is called via a video player or in some cases the URL can be entered directly into the video player code. The VAST XML URL will not work outside of a video player so just entering the link directly on a webpage will not work.
AerServ will provide you with a VAST XML URL which you will enter into the Mopub ad server.
Step 1: Create an App or Site
Step 2: Add aerVideo as an Ad Product & Create a PLC
A PLC is a unique ID that is used to retrieve ads for a particular site and placement created within the AerServ platform. Your PLC can be found within the Inventory section of the AerServ platform. Please reach out to your Account Manager with any questions regarding your PLC or for a tutorial guide go here!
- Click on Generate my Tag Link
- Copy your Live Tags
- To verify integration replace live tag PLC with 1000741
The VAST tag contains macros that will need to be populated by the publisher prior to sending a request to AerServ. Macros are placeholders for data values that are dependent on the user of the page. The population of macros are crucial to campaign targeting and can have a significant impact on fill rate. Below are examples of macros that may be included in the VAST XML URL.
Macros should be added after each key in the query string. ie ("cb=$[cb]").
- Macro shown above (in green) are AerServ specific, please use your 3rd party server macros
- Description of each key is below.
If you have trouble verifying your VAST tag please contact your Account Manager for assistance.
AerServ Parameter Overview
|DESCRIPTION||EX. REQUEST KEY||EX. VALUE||MOBILE WEB||IN-APP||DATA TYPE|
|Application Name||appname||Tien%Len%Online||N/A||Required||String (encoded)|
|App Store URL||siteurl||
|App Bundle ID||bundleid||IOS: id447031106 Android:||N/A||Required||String (encoded)|
|Page URL||url||www.aerserv.com||Required||NA||String (encoded)|
|App domain||appdomain||ads.aerserv.com||N/A||required||String (encoded)|
|Connection Type||network||wifi, carrier||N/A||Optional||String|
|Do Not Track||dnt||1 for do not track, 0 for allow to track||N/A||Required||Boolean|
|Advertising ID -
Unhashed Apple IDFA or Google AdId
|Operating System Version||osv||7.1||Required||Required||String|
|Device Type||type||phone, tablet||Required||Optional||String|
*Provide either the Device ID or the Advertising ID