This example illustrates the delivery of a pre-roll linear ad and an accompanying companion from a call made to Adify.
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": {
"debugger": "firebug",
"levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
},
"ads": {
"pauseOnClickThrough": true,
"notice": { "textStyle": "smalltext" },
"companions": {
"regions": [
{ "id":"companion", "width":"300", "height":"250" }
]
},
"schedule": [
{
"position": "pre-roll",
"server": {
"type": "direct",
"tag": "http://u-ads.adap.tv/a/h/fy8HuCqcy0y5CmMetFZUPVRg8BYfUdag9T3gJOflx7IRS2LqU9Qh0Q==?cb=15783059__amp__spot=preroll__amp__eov=eov__amp__artEid=vast_2_0__amp__ocb=9035__amp__rid=test__amp__pageUrl=http%3A%2F%2Fwww.adap.tv__amp__gubed"
}
}
]
}
}
</ova.json>
</config>