VAST AD Setup

Step 1: Create VoD Push Zone. 

Step 2: Enable CORS Origin for *  and enable SSL certificate.

Step 3: Upload ads videos inside VoD Push zone mp4/ads/

Step 4: Create and Upload VAST XML file inside VoD Push /raw/ads

Step 5: Get Uploaded Ads Video link and xml file link from VoD Push Zone.

Step 6: Open Player Skin Manager, enable VAST Ad option, put VAST_ad.xml file and save to add VAST ad.

Example: https://2evn4gdlndpz-hls-push.5centscdn.com/raw/ads/vmap_ad_sample.xml

What is VMAP:

Add Multiple Ads inside VMAP

VMAP:

VMAP is an XML template to describe the structure for multi-ad inventory. It can contain any combination of VAST pre-rolls, mid-rolls and/or post-rolls.An official VMAP protocol has been introduced by IAB Tech Lab on this page.

VMAP does not define the ads themselves. VMAP defines the ad breaks with VAST tags, including the timing for each break. The video player executes VAST ads at the time specified by VMAP.

VMAP Example

Vmap_ad_sample.xml

<vmap:VMAP xmlns:vmap=”http://www.iab.net/videosuite/vmap” version=”1.0″>

 <vmap:AdBreak timeOffset=”start” breakType=”linear” breakId=”preroll”>

   <vmap:AdSource id=”preroll-ads” allowMultipleAds=”false” followRedirects=”true”>

     <vmap:AdTagURI templateType=”vast3″>

https://2evn4gdlndpz-hls-push.5centscdn.com/raw/ads/preroll.xml

     </vmap:AdTagURI>

   </vmap:AdSource>

 </vmap:AdBreak>

 <vmap:AdBreak timeOffset=”00:00:25.000″ breakType=”linear” breakId=”midroll”>

   <vmap:AdSource id=”midroll-ads” allowMultipleAds=”false” followRedirects=”true”>

     <vmap:AdTagURI templateType=”vast3″>

https://2evn4gdlndpz-hls-push.5centscdn.com/raw/ads/midroll.xml

     </vmap:AdTagURI>

   </vmap:AdSource>

 </vmap:AdBreak>

 <vmap:AdBreak timeOffset=”end” breakType=”linear” breakId=”postroll”>

   <vmap:AdSource id=”postroll” allowMultipleAds=”false” followRedirects=”true”>

     <vmap:AdTagURI templateType=”vast3″>

https://2evn4gdlndpz-hls-push.5centscdn.com/raw/ads/postroll.xml

     </vmap:AdTagURI>

   </vmap:AdSource>

 </vmap:AdBreak>

</vmap:VMAP>

You can define you ads flow how it serve inside VMAP using timeOffset attribute of <vmap:AdBreak>

Set value like:

timeOffset=”end”, 

timeOffset=”start”

timeOffset=”00:00:25.000″

<vmap:AdTagURI> inside this define VAST xml file which contains ads video and posters.