I know they say that you arent allowed to change any of the code, but just wondering if anyone has done this, or if it makes any difference at all.. I've been trying for a day to get adsense to display properly on my site. It wont work with the code given to me by adsense. However, if I remove the <!-- and the //--> ... It works perfectly. Think its OK to leave those parts out? just to be clear, I removed the red parts in the code below: <script type="text/javascript"> <!-- google_ad_client = "pub-xxxxxxxxxxxxxxxxxx"; google_ad_width = 120; google_ad_height = 600; google_ad_format = "120x600_as"; google_ad_type = "text"; google_ad_channel =""; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "184289"; google_color_text = "000000"; google_color_url = "000000"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
Well, AdSense says that you are not allowed to modify the code at all. I have not tried to leave out those parameters & don't see why removing them would make it display any better.
Well the site isnt going public until I figure what to do... Does anyone have any ideas why it would display properly without the <!-- and the //--> but display incorrectly with them?
there wouldn't be any problem imo to leave those out. there kind of a start/stop thing but they don't really affect the code. I say go for it, but don't blame me if you get banned. I take no responsibility, and you idemnify me by reading this post.
i thought anything between <!-- and --> wasn't even html tags, but rather used for labelling html tags.