Hi,
we are now facing some strange issue. We are using Revive Adserver for a few websites. Some of them are currently running on HTTPS, the rest we are preparing to run it. But when we switched on of them from HTTP to HTTPS, few ads are not displayed. We are using JS Tag for delivery of ads. What is strange, that on one site are more zones, delivered the same way. But most of them are working. just 2 or 3 are broken some way.
Generated code for one zone looks like this:
<!--/*
*
* Revive Adserver Javascript Tag
* - Generated with Revive Adserver v4.0.1
*
*/-->
<script type='text/javascript'><!--//<![CDATA[
var m3_u = (location.protocol=='https:'?'https://ad.somesite.com/ad/www/delivery/ajs.php':'http://ad.somesite.com/ad/www/delivery/ajs.php');
var m3_r = Math.floor(Math.random()*99999999999);
if (!document.MAX_used) document.MAX_used = ',';
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
document.write ("?zoneid=90");
document.write ('&cb=' + m3_r);
if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
document.write ("&loc=" + escape(window.location));
if (document.referrer) document.write ("&referer=" + escape(document.referrer));
if (document.context) document.write ("&context=" + escape(document.context));
if (document.mmm_fo) document.write ("&mmm_fo=1");
document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://ad.somesite.com/ad/www/delivery/ck.php?n=ab334ad0&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://ad.somesite.com/ad/www/delivery/avw.php?zoneid=90&cb=INSERT_RANDOM_NUMBER_HERE&n=ab334ad0' border='0' alt='' /></a></noscript>
Through HTTP it gets banner from this URL: http://ad.somesite.com/ad/www/delivery/ajs.php?zoneid=90&cb=65331294334&charset=UTF-8&loc=http%3A//othersite.com/path/to/site
And we get correct content of banner.
var OX_08831917 = '';
OX_08831917 += "<"+"!-- SOME CODE -->\n";
OX_08831917 += "<"+"div id=\"ad_53418\"><"+"/div>\n";
OX_08831917 += "<"+"script type=\"text/javascript\">\n";
OX_08831917 += "var sklikData = { id: \"sklikReklama_53418\", zHash: \"ENAWPYZBMTXV9QCH9H5NJVRSK4QS24KDRXNFGP7BVIDQ2\" };\n";
OX_08831917 += "<"+"/script>\n";
OX_08831917 += "<"+"script type=\"text/javascript\" src=\"http://www.somesite.com/ad-special/path/partnerapi3.js\"><"+"/script><"+"div id=\'beacon_2d7c247e4a\' style=\'position: absolute; left: 0px; top: 0px; visibility: hidden;\'><"+"img src=\'http://ad.somesite.com/ad/www/delivery/lg.php?bannerid=413&campaignid=91&zoneid=90&loc=http%3A%2F%2Fsomeothersite.com%2Fpath%2Ftopage&cb=2d7c247e4a\' width=\'0\' height=\'0\' alt=\'\' style=\'width: 0px; height: 0px;\' /><"+"/div>\n";
document.write(OX_08831917);
But, when the same link is reached through HTTPS, it send only part with beacon.
var OX_893a9b0b = '';
OX_893a9b0b += "<"+"div id=\'beacon_72f34ab414\' style=\'position: absolute; left: 0px; top: 0px; visibility: hidden;\'><"+"img src=\'https://ad.asomesite.com/ad/www/delivery/lg.php?bannerid=0&campaignid=0&zoneid=90&loc=https%3A%2F%2Fsomeothersite.com%2Fpath%2Ftopage&cb=72f34ab414\' width=\'0\' height=\'0\' alt=\'\' style=\'width: 0px; height: 0px;\' /><"+"/div>\n";
document.write(OX_893a9b0b);
This is happening just on some websites, just in some zones. Even when I tried to create new zone and get new code for this, it didn't help. I tried is also through Async JS delivery. Version of the Adserver is 4.0.1.
Could you please help with this problem? Thanks a lot.