Example 5 - Impression serving on an empty VAST2 wrapped response

This example illustrates how an ad server configuration can be set to ensure that the impression URL is called even if the VAST2 response provides no ad.


The configuration for this example is:


flowplayer("a.example", "", {
    playlist: [
        { url: "", duration:10 }
    ],

    plugins: {
        controls: {
            autoHide: "always"
        },

        ova: {
            url: "",

            "debug": {
                "levels": ""
            },

            "ads": {
                 "schedule": [
                    {
                      "position": "pre-roll",
                      "server": {
                          "type": "direct",
                          "forceImpressionServing": true,
                          "apiAddress": ""
                      }
                    }
                 ]
             }
         }
     }
});