Example 10 - Retaining a Companion after the ad has played

This example illustrates how to keep a companion ad active after a linear/non-linear ad has completed.

A COMPANION ADVERTISEMENT WILL APPEAR IN HERE

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 10 - Retaining a Companion after the ad has played
   </ova.title>
   <ova.json>
       {
            "ads": {
              "servers": [
                   {
                      "type": "OpenX",
                      "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
                   }
              ],

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

              "schedule": [
               {
                  "zone": "6",
                  "position": "pre-roll",
                  "playOnce": true
               }
              ]
            },

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