Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The google adsense code contains a reference to a javascript file. If I have 3 ad units on a single page, can I remove this reference from the other two because it is just the same. Will it violate the "don't manipulate the code" rule of google adsense?

share|improve this question
I can't imagine it would break it, but as you say, it's not a good idea to fiddle with the code Google supplies... – Andy Smith Jun 27 '11 at 17:58
up vote 1 down vote accepted

Best to let Google do its thing without manipulating the code.

As this support page mentions, Google will optimize based on your pages:


share|improve this answer
Well, I thought so! – Sam Jun 28 '11 at 10:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.