Example 5 - Selective Display of Companion Types

Selects high quality linear video ad and selectively display a companion based on index/type.




300x250 iframe

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 5 - Selective Display of Companion Types
   </ova.title>
   <ova.json>
       {
            "debug": {
                "debugger": "firebug",
                "levels": "OVA_DEBUG"
            },

            "ads": {
                "pauseOnClickThrough": true,
                "bestBitRate": "high",
                "companions": [
                     { 
                        "id":"companion-300x250-iframe", 
                        "width":"300", 
                        "height":"250", 
                        "index": 1 
                     }
                ],
                "schedule": [
                     {
                        "position": "pre-roll",
                        "server": {
                           "type": "direct",
                           "tag": "http://ad3.liverail.com/?LR_PUBLISHER_ID=1331
                                   __amp__LR_CAMPAIGN_ID=229__amp__LR_SCHEMA=vast2"
                        }
                     }
                ]
            }
       }
   </ova.json>
</config>