hi, i saw a web site with google adsense code like this, is it legal? I would like to use this if it is ok <script type="text/javascript"> if(typeof google_page_url=="undefined") { google_page_url = document.location.href; } </script> <script type="text/javascript"> <!-- google_ad_channel = "somethingsomething" // --> </script> <div class="googleAd"> <script type="text/javascript"><!-- google_ad_client = "somethingsomething"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_type = "text_image"; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "00389F"; google_color_url = "000000"; google_color_text = "000000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> Code (markup):
some of them are premium publisher, they have different code from us. do not try to change code by yourself.. i just warn... or if you want, up to you. lol
look like the codes have been tampered with. Beware. not sure? check with google adsense team. Do not try anything funny with google!
All that this script does is change the google ad channel for every specific page. Even so i would not recomend you modifying the google ad code.
The TOS do not allow for code modification. This person may be a premium publisher though. Premium publishers CAN modify the ad code. Digg is a good example.