Example 3 - User Defined Overlay Ad Templates

This example illustrates how to override the standard non-linear ad templates.

A COMPANION ADVERTISEMENT WILL APPEAR IN HERE

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
        Example 3 - User Defined Overlay Ad Templates
   </ova.title>
   <ova.json>
        {
            "ads": {
                "servers": [
                   {
                      "type": "OpenX",
                      "apiAddress": "OVA_OPENX_API"
                   }
                ],
                "displayCompanions": true,
                "companions": [
                   { "id":"companion", "width":"150", "height":"360" }
                ],
                "schedule": [
                    {
                        "zone": "31",
                        "startTime": "00:00:05",
                        "duration": "15",
                        "templates": {
                            "html": "<body>MY NEW TEMPLATE: _code_</body>",
                        }
                    }
                ]
            },

            "debug": {
                "debugger": "firebug",
                "levels": "OVA_DEBUG"
            }
        }
   </ova.json>
</config>