Code implementation guide

Paste the ad code in your page

Once you have the AdSense ad code, the next step is to paste it in your page’s HTML source code.

This guide will walk you through using two common types of "WYSIWYG" HTML editors (like Adobe Dreamweaver or Microsoft Frontpage): HTML insert editors, and Code view editors.

This guide can also help you if you have a content management system, like Blogger or Joomla.

We can't give you exact instructions for pasting your ad code on your specific page, since every editor and every site is different. But we have provided some examples that will help guide your implementation.

Optimize Design
Using Code View
Optimize Design
Using HTML Insert
Other Products
Using a content-management system (CMS)

Before adding the ad code to your page, make sure that your page complies with our program policies. If your page doesn't comply with these policies, we reserve the right to disable ad serving to your site and/or disable your AdSense account at any time. If your account is disabled, you will not be eligible for further participation in the AdSense program.

Was this article helpful?