Hi.
Can you tell me, how to place ad using JavaScript code?
I have code like this:
<!-- StartCode: ..... -->
<script language='JavaScript' type='text/javascript'>
/* <![CDATA[ */
var bbs=screen,bbn=navigator,bbh;bbh='&ubl='+bbn.browserLanguage+'&ucc='+bbn.cpuClass+'&ucd='+bbs.colorDepth+'&uce='+bbn.cookieEnabled+'&udx='+bbs.deviceXDPI+'&udy='+bbs.deviceYDPI+'&usl='+bbn.systemLanguage+'&uje='+bbn.javaEnabled()+'&uah='+bbs.availHeight+'&uaw='+bbs.availWidth+'&ubd='+bbs.bufferDepth+'&uhe='+bbs.height+'&ulx='+bbs.logicalXDPI+'&uly='+bbs.logicalYDPI+'&use='+bbs.fontSmoothingEnabled+'&uto='+(new Date()).getTimezoneOffset()+'&uti='+(new Date()).getTime()+'&uui='+bbs.updateInterval+'&uul='+bbn.userLanguage+'&uwi='+bbs.width;
document.write("<scr"+"ipt language='JavaScript' type='text/javascript' src='http://......."+bbh+"&alttext=0&border=0&bust="+Math.random()+"&target=_blank'><"+"\/scr"+"ipt>");
/* ]]> */
</script>
<noscript>
<a href="http://...." target="_blank"><img src="http://...." border='0' alt='' /></a>
</noscript>
<!-- EndCode: ...... -->
After pasting this code into html_ad it appears on the site instead of being replaced by image banner.
Comments
Comment #1
Coop1979 commentedI'm having a similar problem with the 5.x version. Trying to use Doubleclick code.
Comment #2
greggus-1 commentedFound it.
Comment #3
Coop1979 commentedWhat was the solution?
Comment #4
lameei commented+1 here
Comment #5
Babalu commentedsubscribing
Comment #6
Babalu commentedwhat's the solution to use javascript code ?
Comment #7
serkan.arikusu commentedHi,
You should allow Full Html for ad_html types when creating the ad.