Example 2 - An AdTech pre-roll with companion before a live stream

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.

A COMPANION ADVERTISEMENT WILL APPEAR IN HERE

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 2 - An AdTech pre-roll with companion before a live stream
   </ova.title>
   <ova.json>
       {
           "blockUntilOriginalPlaylistLoaded": true,
           "ads": {
               "servers": [
                   {
                      "type": "AdTech",
                      "apiAddress": "http://adserver.adtech.de/?adrawdata/3.0/990.1"
                   }
               ],

               "displayCompanions": true,
               "companions": [
                   { "id":"companion", "width":"150", "height":"360" }
               ],

               "schedule": [
                   {
                      "zone": "2366662/0/1725",
                      "position": "pre-roll",
                      "playOnce": true
                   }
               ]
            },

            "debug": {
               "debugger": "firebug",
               "levels": "fatal, config, vast_template, vpaid, playlist, api, analytics, http_calls"
            }
       }
   </ova.json>
</config>