This example illustrates how to deliver a mixture of overlay types. 3 random overlays will be selected and delivered - each running for 5 seconds. Leaving out width and height dimensions on an Ad Slot definition defaults it to -1 and -1 which means that any non-linear sizing will be matched.
The configuration for this example is:
"" is defined as:
<config>
<ova.title>
Example 2 - Mixed Overlay Delivery
</ova.title>
<ova.json>
{
"ads": {
"servers": [
{
"type": "OpenX",
"apiAddress": "OVA_OPENX_API"
}
],
"displayCompanions": true,
"companions": [
{ "id":"companion", "width":"150", "height":"360" }
],
"schedule": [
{
"zone": "44",
"startTime": "00:00:05",
"duration": "5"
},
{
"zone": "44",
"startTime": "00:00:12",
"duration": "5",
},
{
"zone": "44",
"startTime": "00:00:19",
"duration": "5"
}
]
},
"debug": {
"debugger": "firebug",
"levels": "OVA_DEBUG"
}
}
</ova.json>
</config>