Generally, altering the behavior or targeting of AdSense ad code is prohibited. However, publishers are permitted to use scripts which allow users to close the ad unit by clicking on a box.
Some examples of unacceptable modifications include:
- Placing Google ads in a "floating box" in which ads scroll, hover, or expand over the webpage.
- Adding irrelevant keywords (hidden or visible) to alter the targeting of the ads.
- Using IFRAMEs with keywords to alter the content or language of the ads.
