Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

OVA Failover Function

6 replies [Last post]
Reply

Hi,

I am currently trying to use the failover function of OVA to have the server switch from our OpenX Ad Server to a third party content provider when OpenX fails to return an Ad. I believe this is what the failover function is for but I jsut can't get it to work. It seemingly just ignores these settings. The setting I have set up are:

ova: {
            url: "./flowplayer/ova.swf",
           
            "ads": {
"autoPlay": false,
                "playOnce": true,
                "pauseOnClickThrough": true,
                "notice": { "type": "countdown" },

                "schedule": [
                     {
                     "zone": "47",
                     "position": "pre-roll",
                     "applyToParts": [0,1],
"server": {
"type": "OpenX",
"apiAddress": "http://*********.***.***/www/delivery/fc.php",
"allowAdRepetition": true,
"failoverServers": [
{
"type": "direct",
"tag": "http://vast.******/vast/3845694?n=[timestamp]"
}
]
}
                     }
                ]
            }
},

Any ideas what may be going wrong with this?
Thanks

Reply

Hi Tom,

Looking ok at a glance. Can I ask - what version of OVA are you running? (just want to check you have a version that supports this functionality)

Let's start there ...

Paul

Reply

Hi Paul,

Thanks for the reply, I am using the latest dev version downloaded from the OVA wiki last week. I assumed that the latest version would be the best to test with.

Cheers
Tom

Reply

Yeh - should be.

Ok, is there any chance I get a URL to see this running? Will help to see the debug info coming out.

Actually, on that note, if you put the following config in:

"debug": {
    "levels": "fatal, config, vast_template, http_calls"
}

You will also see what it's doing in the debug output.

If you'd prefer not to publish a URL here in the forum, would you mind email me at enquiries@openvideoads.org and I can get it there..

Paul

Reply

Hi Paul, Debug code added and link emailed to you.

Thanks
Tom

Reply

Paul,

You wouldn’t believe this but this now seems to be working correctly having just added the debug code in. This is quite strange.....

Tom

Reply

Actually, that helps work out what may have been wrong.

Looking at your original config, you seem to have an additional unnecessary comma at the end of the config:


...
},

I assume if you added the debug after that, it made the config valid ...

If you take the debug out, do you see OVA complaining that it can't parse the config? That's all I can think.. the debug config itself wouldn't impact the running of the failover mechanism, so I think it's something about the config content...

Paul

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options