This example illustrates how to deliver linear and overlay ads over a YouTube video. In this example we deliver a pre-roll ad and then an overlay 5 seconds into the YouTube video for 15 seconds.
The configuration for this example is:
"" is defined as:
<config>
<ova.title>
Delivering Ads over a YouTube video
</ova.title>
<ova.json>
{
"autoPlay": false,
"regions": {
"declarations": [
{
"id": "bottom",
"verticalAlign": "bottom",
"horizontalAlign": "center",
"backgroundColor": "#000000",
"padding": "-10 -10 -10 -10",
"width": 450,
"height": 50
}
]
},
"ads": {
"servers": [
{
"type": "OpenX",
"apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
}
],
"notice": { "textStyle": "smalltext" },
"schedule": [
{
"zone": "18",
"position": "pre-roll"
}
]
},
"debug": {
"levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
}
}
</ova.json>
</config>