dalibor Posted September 23, 2014 Report Share Posted September 23, 2014 Hi dear friends, I have a wamp server on my localhost. Also I have one wordpress site working here for development and testing purposes. I have succesfully installed there the latest version of Revive adserver (http://localhost/adserver), I dont use SSL. So I prepared some campaign (Contact, Never expires) and simple banner and zone, publisher has url: http://localhost/mysitename and everything seems to be ok, dont see any problems here. When I try to access banner through code (javascript or iframe) but nothing happens. I have tried call it from wordpress site using plugin HTML Javascript Adder but no luck with Revive code. I have tried different code which worked for me in this plugin <script language="javascript" src="http://track.adform.net/adfscript/?bn=43547;click=%c"></script> <noscript> <a href="%chttp://track.adform.net/c/?bn=43547;c=0" target="_blank"> <img src="http://track.adform.net/adfserve/?bn=43547;srctype=4;ord=%n" border="0" width="468" height="60" alt=""> </a> </noscript> I have also tried to call it outside of wordpress by writing simple html page with given code(s), but no luck. Revive Iframe code <!--/* Revive Adserver iFrame Tag v3.0.5 */--> <iframe id='a7b366e3' name='a7b366e3' src='http://localhost/adserver/www/delivery/afr.php?zoneid=2&cb=INSERT_RANDOM_NUMBER_HERE' frameborder='0' scrolling='no' width='300' height='250'><a href='http://localhost/adserver/www/delivery/ck.php?n=a1a5cd51&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://localhost/adserver/www/delivery/avw.php?zoneid=2&cb=INSERT_RANDOM_NUMBER_HERE&n=a1a5cd51' border='0' alt='' /></a></iframe> Revive Javascript code <!--/* Revive Adserver Javascript Tag v3.0.5 */--> <script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://localhost/adserver/www/delivery/ajs.php':'http://localhost/adserver/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=2"); 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://localhost/adserver/www/delivery/ck.php?n=a9d537e8&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://localhost/adserver/www/delivery/avw.php?zoneid=2&cb=INSERT_RANDOM_NUMBER_HERE&n=a9d537e8' border='0' alt='' /></a></noscript> I have tried to wait some time, restarted server few times..nothing changed. Could be there some problem with localhost installation? Can someone help me find solution? Sincerely Dalibor Quote Link to comment Share on other sites More sharing options...
andrewatfornax Posted April 6, 2017 Report Share Posted April 6, 2017 https://www.revive-adserver.com/faq/troubleshooting-banner-delivery/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.