Example 4 - An example SWF pre-roll

This example illustrates the delivery of a SWF pre-roll from the OASIS ad server. Targeted ad parameters are used in this case to ensure we get an SWF ad back in the call.

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 4 - An example SWF pre-roll
   </ova.title>
   <ova.json>
       {
            "debug": {
                "debugger": "firebug",
                "levels": "OVA_DEBUG"
            },

            "ads": {
                "pauseOnClickThrough": true,
                "servers": [
                    {
                      "type": "OASIS",
                      "apiAddress": "http://ahs2.adhostingsolutions.com/oasisi-i.php",
                      "customProperties": {
                           "k": "flash"
                      }
                    }
                ],
                "schedule": [
                    {
                      "zone": "1566",
                      "position": "pre-roll"
                    }
                ]
            }
       }
   </ova.json>
</config>