Web trends and technology demand that your site evolves quickly to maintain a growing user base. We’ve heard your questions and feedback on areas like responsive design, and we’re happy to let you know that we’ve updated our existing guidelines around modifying the AdSense ad code. We hope that this increased flexibility will help you continue enhancing the user experience on your site.
Going forward, we will permit publishers to make modifications to the AdSense ad code so long as those modifications do not artificially inflate ad performance or harm advertisers and otherwise comply with our
Terms and Conditions and
program policies. This will enable you to try a range of techniques on your site such as:
- Responsive design: Enabling publishers to create a single webpage that will adapt to the device on which it’s being viewed, whether it’s a laptop, smartphone or tablet, to maximize user experience.
- A/B testing: Running a test by creating multiple versions of a page, comparing user behavior to see which page is the most effective.
- Setting custom channels dynamically: Tracking performance of segments of users, sections of your site, or other behavior to maximize ad and user experience.
- Ad tag minification: Enabling your site pages to load faster by reducing the amount of data to be transferred.
For more details and to find the specific code snippets related to the bullets above, visit our updated
Help Center article.
Even with this new flexibility, it’s important to proceed with caution to ensure the ecosystem remains balanced for publishers, users and advertisers. Please note that publishers must not make modifications to the AdSense code if those modifications are not permitted by our
program policies. Publishers should always use caution when modifying the AdSense code and must not use techniques like hiding ad units, implementing the AdSense code in a way that covers content, creating ‘floating ads’, or manipulating ad targeting as they are a violation of our policies. More information about these types of prohibited techniques can be found in our updated
Help Center article. In addition, please be aware that some types of code modification may prevent ads from appearing correctly, which may negatively impact your revenue.
We also look forward to hearing your feedback and suggestions on our
AdSense +page.
Posted By Nick Radicevic -
AdSense Product Manager
Was this blog post useful? Share your feedback with us.