Example 1 - Integrating an AdTech Ad Server - Minimal Configuration

This example illustrates pre and post roll ads delivered from an AdTech Ad Server along with an overlay ad and companions for both ad types. The configuration demonstrates how to define the AdTech Ad Server VAST request using custom properties and how those properties may be declared at the "general" or "ad slot" specific levels.

A COMPANION ADVERTISEMENT
(300x250)
WILL APPEAR IN HERE
FILLER SPACE
A COMPANION ADVERTISEMENT
(160x600)
WILL APPEAR IN HERE

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 1 - Integrating an AdTech Ad Server - Minimal Configuration
   </ova.title>
   <ova.json>
       {
            "ads": {
              "displayCompanions": true,
              "restoreCompanions": false,
              "companions": [
                   { "id":"companion-160x600", "width":"160", "height":"600", "resourceType": "html" },
                   { "id":"companion-300x250", "width":"300", "height":"250", "resourceType": "html" }
              ],
              "servers": [
                   {
                      "type": "AdTech",
                      "apiAddress": "http://adserver.adtech.de/?adrawdata/3.0/990.1"
                   }
              ],
              "schedule": [
                   {
                      "zone": "2366662/0/1725",
                      "position": "pre-roll"
                   },
                   {
                     "zone": "2366662/0/1725",
                     "position": "post-roll"
                   }
              ]
            },

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