stephene Posted September 8, 2014 Report Share Posted September 8, 2014 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 Quote Link to comment Share on other sites More sharing options...
stephene Posted September 8, 2014 Author Report Share Posted September 8, 2014 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 ('&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://mywebsite.com/adserver/www/delivery/ck.php?n=a69bdc41&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://mywebsite.com/adserver/www/delivery/avw.php?zoneid=1&cb=INSERT_RANDOM_NUMBER_HERE&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 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.