Ad code

The HTML that is placed on any page of an approved site by the publisher who owns the site, allowing ads to be shown on that page in a specific ad layout format.

Visit our Code Implementation Guide for help in getting started with AdSense ad code.

If you're having trouble with your AdSense code, visit our Troubleshooting section for more resources.

How helpful is this article:

Feedback recorded. Thanks!
  • Not at all helpful
  • Not very helpful
  • Somewhat helpful
  • Very helpful
  • Extremely helpful