Example 1 - A VAST 1.0 pre-roll ad only

Linear pre-roll, selected as highest quality, limited to FLV format. The companions are selected based on their type as multiple types/size are returned in the VAST response.

300x250 Companion
300x60 Companion
300x60 Companion

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 1 - A VAST 2.0 pre-roll ad only
   </ova.title>
   <ova.json>
       {
            "debug": {
                "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
            },

            "ads": {
                "pauseOnClickThrough": true,
                "bestBitrate": "high",
                "deliveryType": "flv",
                "companions": {
                   "regions": [
	                  { 
	                     "id":"companion-300x250", 
	                     "width":"300", 
	                     "height":"250" 
	                  },
	                  { 
	                     "id":"companion-300x60-1", 
	                     "width":"300", 
	                     "height":"60", 
	                     "resourceType": "static" 
	                  },
	                  { 
	                     "id":"companion-300x60-2", 
	                     "width":"300", 
	                     "height":"60", 
	                     "resourceType": "iframe" 
	                  }
                   ]
                },
                "schedule": [
                    {
                       "position": "pre-roll",
                       "server": {
                           "type": "direct",
      	                   "tag": "http://api.atdmt.com/adserv.api/viewad/sa=115571748;
      	                           sf=VAST20_PreRoll_XML_alpha;pf=FLV;br=500;strm=0"
                       }
                    }
                ]
            }       
       }
   </ova.json>
</config>