This example illustrates how to deliver linear advertising (with a companion) before or after a live stream. Mid-roll linear ads are not supported on live streams at this time.
The configuration for this example is:
"" is defined as:
<config>
<ova.title>
Example 3 - Two AdTech pre-rolls before a live stream
</ova.title>
<ova.json>
{
"blockUntilOriginalPlaylistLoaded": true,
"ads": {
"servers": [
{
"type": "AdTech",
"apiAddress": "http://adserver.adtech.de/?adrawdata/3.0/577.1"
}
],
"displayCompanions": true,
"companions": [
{ "id":"companion", "width":"150", "height":"360" }
],
"schedule": [
{
"zone": "2516467/0/13",
"position": "pre-roll",
"playOnce": true
},
{
"zone": "2564086/0/13",
"position": "pre-roll",
"playOnce": true
}
]
},
"debug": {
"debugger": "firebug",
"levels": "fatal, config, vast_template, vpaid, playlist, api, analytics, http_calls"
}
}
</ova.json>
</config>