Selects high quality linear video ad and selectively display a companion based on index/type.
The configuration for this example is:
"" is defined as:
<config>
<ova.title>
Example 5 - Selective Display of Companion Types
</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-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>