Example 1-02 - Single VAST 2.0 Wrapper

This example illustrates a VAST2 wrapper in action - a single layer of wrapper without ad templates.

300x250 Companion

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 1-02 - Single VAST 2.0 Wrapper 
   </ova.title>
   <ova.json>
       {
            "shows": {
                "streams": [
                    {
                        "file": "http://streaming.openvideoads.org/shows/the-black-hole.mp4",
                        "duration":"00:00:20"
                    }
                ]
            },

            "ads": {
               "servers": [
                   {
                      "type": "direct",
                      "apiAddress": "../../../dist/templates/wrapper/vast2-wrapper-to-vast2-ad.xml",
                   }
               ],
               "companions": [
                  { "id":"companion-300x250", "width":"300", "height":"250" }
               ],
               "schedule": [
                  {
                    "zone": "46",
                    "position": "pre-roll"
                  }
               ]
            },

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