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

Forums

/

Ova player not pulling ads

7 replies [Last post]
Reply

The OVA plugin does not forward additional parameters to a third party ad server (spotxchange): &content_page_url and &cb

Those 2 parameters are entered in the plugin parameters, but for some reason it's being cut of. Please can you state why the entire request is not being pulled in.

http://search.spotxchange.com/vast/2.00/74856?VPAID=1

We do need to see the &content_page_url parameter and the cache buster added to these requests:

ยท http://search.spotxchange.com/vast/2.00/74856?VPAID=1&content_page_url=[page_url]&cb=[random_number]

o Content_page_url should be the URL-encoded URL of the page on which the ad will be placed.

Reply

Hi,

Ok, a couple of things to help:

1. If you aren't already, make sure you are running RC6 from the OVA Developer Site (http://developer.longtailvideo.com/ova) - register on there and then grab RC6 from the "Download the Latest" page. RC6 provides improved support for "ad tag variables"

2. Then, in your ad tag, place the OVA "ad tag variables" where you require them - in your case you need to use "__page-url__" to get the active page URL and "__random-number__" to get a cache busting random token. So the following would work:

http://search.spotxchange.com/vast/2.00/74856?VPAID=1&content_page_url=__page-url__&cb=__random-number__

Here are some examples:

http://static.openvideoads.org/qa/latest/ova.jwplayer.5x/examples/pages/variables/index.html

Hope that helps :)

Paul

Reply

Oh, wait a sec - sorry I misread your original posting - I missed the "the ad tag is being cut off" point...

Do you have a URL that I can see this happening on? It must be something config related as it's definitely not something I've seen before...

Paul

Reply
Reply

Oh, I see...

The way you are setting it up with SWFObject, you can't set parameters like that with ampersands in them - because they get passed in via the Flashvars setting to the player and each flashvar is separated by ampersands - so your ad tag gets cut off at the first ampersand thinking that the next part is a new flashvar setting.

OVA has a way around this however. Just replace the ampersands with "__amp__" and OVA will replace those before making the ad tag call...

So your ad tag should be declared as:

http://search.spotxchange.com/vast/2.00/74856?VPAID=1__amp__content_page_url=__page-url___amp__cb=__random-number__

One more small thing - while it's fine for you to test things loading the OVA SWF from the "static.openvideoads.org" address, please don't put that into production.

You'll find that server going up and down and your site will be dramatically impacted....

;)

Paul

Reply

Hi Paul;

We are having issues with ads playing on OVA player. We are running both Longtail ads and SpotXchange ads but most time the ads are not loading displaying a dark screen. Please help double check the code below.

We are serving ads from this channel - http://www.9jatube.tv/index.php?option=com_achtube&Itemid=80&task=view&id=9242

Here is the player code:

<script type="text/javascript">
var s1 = new SWFObject("http://www.9jatube.tv/components/com_achtube/player58.swf","ply","<?php echo $conf->plyl;?>","<?php echo $conf->plyw;?>","9");
s1.addParam("allowScriptAccess", "always");
s1.addVariable("type","video");
s1.addParam("wmode", "transparent");
s1.addParam("allowfullscreen","true");
s1.addParam("smoothing","true");
s1.addVariable("plugins","http://static.openvideoads.org/qa/latest/ova.jwplayer.5x/dist/swf/ova-jw.swf");
s1.addVariable("ova.tag","http://search.spotxchange.com/vast/2.00/72647?VPAID=1__amp__content_page_url=<?php echo urlencode($OvaURL);?>__amp__cb=<?php echo $OvaRand;?>");
s1.addVariable("plugins","ltas");
s1.addVariable("ltas.cc", "xnfvcyccvsedhrw");
//s1.addVariable("plugins","SpotXchange");
//Which spotx channel to use:
//s1.addVariable("spotxchange.channel_id", "69775");
s1.addVariable("image","<?php echo $mosConfig_live_site;?><?php echo $conf->jpgdir;?>/<?php echo $viddet->id;?>.jpg");
s1.addVariable("width","<?php echo $conf->plyl;?>");
s1.addVariable("height","<?php echo $conf->plyw;?>");
s1.addVariable("file","<?php echo $mosConfig_live_site;?><?php echo $conf->flvdir;?>/<?php echo $viddet->id;?>.flv");
//s1.addVariable("ltas.mediaid","<?php echo $viddet->id;?>");
s1.addVariable("provider","video");
<?php
if ($conf->logo=="1"){
?>
s1.addVariable("logo.file","<?php echo $mosConfig_live_site;?>components/com_achtube/images/logo.png");
<?php
}
?>
s1.addVariable("autostart","false");
s1.write("player1");
</script>

Reply

Hi,

A couple of things:

1) Never ever load the OVA SWF from our QA server on a production site. That's not the issue here, but you are likely to get blocked (because it's our QA server) and that will impact your site. Just a bit of advice ;)

2) That aside, I ran the URL test 8 times - 5 in Firefox, 3 times in Chrome. I never saw the problem in Firefox, but I did see it twice in Chrome.

The "black screen" that I'm seeing looks to be some type of "DIV overlay" on top of the player - I guess it's coming from that initial iFrame style ad that you insert over the player when the page is loaded and before playback begins (the OVA VPAID ad etc.)

The reason I think that is because I can see the player play button below that black screen and it has a degree of opacity on it. I can also see some elements of that original ad layout in there which makes me think it's that original ad.

My recommendation is that you setup a test that removes that initial ad over the player and see if you still get the problem...

My guess is that there is something related to that ad script causing your problem.

Paul

Reply

I think the black screen issue has been resolved but do you know why is only showing one pre-roll video instead of two? Some time no pre-roll ad at all and also the in-banner is only loading for 5 sec instead of 15.
We did a little tweak on the code
Here it is -

<script type="text/javascript">
var s1 = new SWFObject("http://www.9jatube.tv/components/com_achtube/player58.swf","ply","<?php echo $conf->plyl;?>","<?php echo $conf->plyw;?>","9");
s1.addParam("allowScriptAccess", "always");
s1.addVariable("type","video");
s1.addParam("wmode", "transparent");
s1.addParam("allowfullscreen","true");
s1.addParam("smoothing","true");
s1.addVariable("plugins","http://static.openvideoads.org/qa/latest/ova.jwplayer.5x/dist/swf/ova-jw.swf");
s1.addVariable("ova.tag","http://search.spotxchange.com/vast/2.00/72647?VPAID=1__amp__content_page_url=<?php echo urlencode($OvaURL);?>__amp__cb=<?php echo $OvaRand;?>");
s1.addVariable("plugins","http://static.openvideoads.org/qa/latest/ova.jwplayer.5x/dist/swf/ova-jw.swf")
s1.addVariable("ltas.cc", "xnfvcyccvsedhrw");
s1.addVariable("ltas.mediaid","<?php echo $viddet->id;?>");
//s1.addVariable("plugins","SpotXchange");
//Which spotx channel to use:
//s1.addVariable("spotxchange.channel_id", "69775");
s1.addVariable("image","<?php echo $mosConfig_live_site;?><?php echo $conf->jpgdir;?>/<?php echo $viddet->id;?>.jpg");
s1.addVariable("width","<?php echo $conf->plyl;?>");
s1.addVariable("height","<?php echo $conf->plyw;?>");
s1.addVariable("file","<?php echo $mosConfig_live_site;?><?php echo $conf->flvdir;?>/<?php echo $viddet->id;?>.flv");
s1.addVariable("provider","video");
<?php
if ($conf->logo=="1"){
?>
s1.addVariable("logo.file","<?php echo $mosConfig_live_site;?>components/com_achtube/images/logo.png");
<?php
}
?>
s1.addVariable("autostart","false");
s1.write("player1");
</script>

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