Selects high quality linear video ad and displays a range of companion sizes and types to go with that linear ad. The companion sizes are 300x60, 728x90 and 300x250 pixels. Each with a static (image) and iFrame resource type. Companion selection uses the "type" and "index" flags.
The configuration for this example is:
"" is defined as:
<config>
<ova.title>
Example 1 - A VAST 1.0 pre-roll ad only
</ova.title>
<ova.json>
{
"debug": {
"debugger": "firebug",
"levels": "fatal, config, vast_template, vpaid, playlist, api, analytics, http_calls"
},
"ads": {
"pauseOnClickThrough": true,
"bestBitrate": "high",
"companions": [
{
"id":"companion-300x60-static",
"width":"300",
"height":"60",
"resourceType": "static"
},
{
"id":"companion-300x60-iframe",
"width":"300",
"height":"60",
"resourceType": "iframe"
},
{
"id":"companion-728x90-static",
"width":"728",
"height":"90",
"index": 0
},
{
"id":"companion-728x90-iframe",
"width":"728",
"height":"90",
"index": 1
},
{
"id":"companion-300x250-static",
"width":"300",
"height":"250",
"resourceType": "static"
},
{
"id":"companion-300x250-iframe",
"width":"300",
"height":"250",
"index": 1
}
],
"schedule": [
{
"position": "pre-roll",
"server": {
"type": "direct",
"tag": "http://ad3.liverail.com/?LR_PUBLISHER_ID=1331
__amp__LR_CAMPAIGN_ID=229__amp__LR_SCHEMA=vast2"
}
}
]
}
}
</ova.json>
</config>