Jump to content

Making invocation code work

Recommended Posts


Have a question about making the invocation code work. Have installed Revive 3.2.4 with PHP 7.0.7. Have a website, banner and zones configured on the ad server. But I can not get the invocation code to work. Every type of banner invocation does not provide the banner. Get a blank page all the time. Even with a Local Mod Tag on a webpage at the same server as Revive is installed. Have used other Javescripts and Iframescripts etc and they work fine.

What is it that I miss? Thanks in advance for helping.

Link to comment
Share on other sites

Have you reviewed https://www.revive-adserver.com/faq/troubleshooting-banner-delivery/ ?

In particular: are you certain there are banners linked to the zone? And that there is at least one banner of type remnant with no delivery limitations?

Also, you say: "get a blank page all the time". This can mean many things: the ad server timing out, or being very slow, or returning a 500 error.

Link to comment
Share on other sites

Hi Erik,

Have now a zone with two banners one remnant one standard, For testing I put the four types of invocation code in a HTML-page on the server where Revive is installed. Even in the /www-directory of the Revive installation. Waited 20 minutes because of the cache. Do not get the desired result. The Local Mod Tag is printed as plain text. There are no issues on the server. No timing out, no slowness, no 500 error.

Example scripts I get from the internet work fine just by copy/pasting them in to the HTML-page.



Link to comment
Share on other sites

This is the Javacript Tag:

<script type='text/javascript'><!--//<![CDATA[
   var m3_u = (location.protocol=='https:'?'https://domainname/www/delivery/ajs.php':'http://domainname/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=1");
   document.write ('&amp;cb=' + m3_r);
   if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
   document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
   document.write ("&amp;loc=" + escape(window.location));
   if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
   if (document.context) document.write ("&context=" + escape(document.context));
   if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
   document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://domainname/www/delivery/ck.php?n=a46589d3&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://domainname/www/delivery/avw.php?zoneid=1&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a46589d3' border='0' alt='' /></a></noscript>


Can you see if there is anything wrong?  The word "domainname" is of course not the real domain.

Link to comment
Share on other sites

You are right. It is not funny at all. It is even a problem. Producers of Adblockers are in fact censors. Like Stasi, examining sites and removing or suppressing what they do not like. Adblockers are violating the freedom of speech/expression of the publishers.

At the same time, users do not want to be tracked ore traced.

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...