Example 2 - Mixed Overlay Delivery

This example illustrates how to deliver a mixture of overlay types. 3 random overlays will be selected and delivered - each running for 5 seconds. Leaving out width and height dimensions on an Ad Slot definition defaults it to -1 and -1 which means that any non-linear sizing will be matched.

A COMPANION ADVERTISEMENT WILL APPEAR IN HERE

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 2 - Mixed Overlay Delivery
   </ova.title>
   <ova.json>
        {
            "ads": {
                "servers": [
                   {
                      "type": "OpenX",
                      "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
                   }
                ],
                "displayCompanions": true,
                "companions": [
                    { "id":"companion", "width":"150", "height":"360" }
                ],
                "schedule": [
                    {
                        "zone": "44",
                        "startTime": "00:00:05",
                        "duration": "5"
                    },
                    {
                        "zone": "44",
                        "startTime": "00:00:12",
                        "duration": "5",
                    },
                    {
                        "zone": "44",
                        "startTime": "00:00:19",
                        "duration": "5"
                    }
                ]
            },

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