This example illustrates how to use the 'out of the box' configuration options to make calls to the Adify ad server. The delivery of a pre-roll followed by a non-linear (overlay) ad and companion over a show stream. The overlay starts 5 seconds into the stream, running for 10 seconds.
The configuration for this example is:
"" is defined as:
<config>
<ova.title>
Example 4 - Using the 'out of the box' configuration options
</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" }
]
},
"servers": [
{
"type": "Adify",
"apiAddress": "http://ad.afy11.net"
}
],
"schedule": [
{
"zone": "1000004375407",
"position": "pre-roll"
}
]
}
}
</ova.json>
</config>