Why can google not get their code right! I mean they make billions and cant even make sure their ad code on other peoples sites are up to web standards? I code my sites to be HTML 4.01 compliant to make sure there are no crappy bugs that could make a user go away. Now without google ads i comply to the standards. As soon as i add a block of google code it spits up in my face saying WARNINGS found! I personaly think this is just stupid. It would take them 5 minutes to run their code through a validator and correct this crap. Makes any person who designs valid sites look bad as the google ads are mucking with the validation. Anyone else think google is just being lazy and need to get in gear to fix this.
Have you talked to Google's customer support. Anyway, I am just happy they have the AdSense program and feel like I'm in no place to complain. Good Luck.
I tried contacting them for the same thing. I am anal about my html output and always strive for 100% valid output, but any page displaying adsense... They said they were working on it. That was months ago.
I'm not sure what you guys are talking about, maybe you are putting javascript in an invalid place, but my page validates just fine with adsense code on it. http://validator.w3.org/check?uri=www.acepolls.com
Ahhhh, my site does validate with that site. I am using the firefox extention that checks. It checks the frames on the site as well as the content page. I recieve 0 errors on my site, unless you include the frames google puts there with the js code. Then it gives errors like mad. I looked at the code that was causing the invalidation.... its simple stuff like having HEIGHT="" WIDTH="" <-- the point of this is? They also have a script tag in there with no type attribute. Why is this missing? With these little changes (ya they are little) they can have valid good clean code. Should they not take 5 minutes and validate their stuff?
Google does this to improve the load time of ads on all sites and to have ads display as accurately as possible in all browsers, including very old browsers.