Jump to content

Difficult To Banner Invocation


stephene

Recommended Posts

Hello everyone 
are Stephene and I'm trying to configure adserver to show the banner on my website. I created the campaign, I have assigned the banner and I created the zone. Then I assigned certain banners and campaigns to the specific zone. 
 
Now I need to extract the code of 1 banner at a time. How can I do? 
 
I click on ZONE> Invocation code> tag javascript 
 
The code that is shown is not standard code to change, but how do I change the banner for display correctly only in a specific area?
 
Please help me
 
many thanks
 
 
 
sorry for my english
Link to comment
Share on other sites

This is example for code generate:


<script type='text/javascript'><!--//<![CDATA[
   var m3_u = (location.protocol=='https:'?'https://mywebsite.com/adserver/www/delivery/ajs.php':'http://mywebsite.com/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=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://mywebsite.com/adserver/www/delivery/ck.php?n=a69bdc41&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://mywebsite.com/adserver/www/delivery/avw.php?zoneid=1&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a69bdc41' border='0' alt='' /></a></noscript>

In "INSERT_RANDOM_NUMBER_HERE" i have to enter number code of my banner? I try but not function.

 

I also tried the direct selection but the code is not written to the zone number..

Many thanks

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.

Guest
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...