Example 2 - Direct URL based Ad Server Request

This example illustrates how to configure a direct URL based ad server request in the ad schedule. In this case it's a call to an AdTech ad server.

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 2 - Direct URL based Ad Server Request
   </ova.title>
   <ova.json>
       {
            "debug": {
              "debugger": "firebug",
              "levels": "OVA_DEBUG"
            },

            "ads": {
                "pauseOnClickThrough": true,
                "schedule": [
                    {
                       "position": "pre-roll",
                       "server": {
                           "type": "direct",
                           "apiAddress": "http://adserver.adtech.de/?adrawdata/3.0/990.1/
                                          2366662/0/1725/noperf=1;cc=2;header=yes;
                                          alias=myalias;cookie=yes;adct=204;key=key1+key2;
                                          grp=[group];misc=__random-number__"
                       }
                    }
                ]
            }
       }
   </ova.json>
</config>