Create an ad unit

To create a new AdSense ad unit that you can manage within your account, follow the steps below.

  1. Sign in to your account at http://www.google.com/adsense.
  2. Visit the My ads tab.
  3. From the sidebar, choose your product. If you simply want to display ads on your website, choose "Content."
  4. Click +New ad unit.


  5. Name and customize your ad unit. View details about the settings.
    • Name: Provide a unique name and description that will help you find this ad unit later.
    • Ad size: In general, wider ad units perform better. We encourage you to choose one of our recommended ad sizes, which have shown to perform well across a variety of sites.
    • Ad type: We encourage you to display both text and image ads. By displaying more ad types, you can earn more revenue.
    • Backup ads: When no targeted ads are available, you can choose to display another ad or color instead.
    • Custom channels: Custom channels are an advanced feature that you can use to group specific ad units together. Learn more about custom channels.
    • Ad style: Choose an ad style that complements your page. (View tips.) You can also set a different font face, font size, and corner style, or just use Google defaults.

  6. Click Save and get code.
  7. Choose the code type that you want to use:
    • To use the asynchronous ad code, leave the code type set to "Asynchronous" in the Code type drop-down.
    • If you want to use the existing AdSense ad code, select "Synchronous" from the Code type drop-down.
    If you've chosen to create a responsive ad unit, you won't see the Code type drop-down in the “Ad code” box. Responsive ad units only use asynchronous ad code.
  8. Copy and paste the ad code into the HTML source code of your pages where you'd like ads to appear. If you're not sure how to do this, you might want to review our Code Implementation Guide.

Once you've saved your website, ads will appear within a few minutes. If you need to change the settings of this ad unit in the future, you can edit it from the list of content ads under the My ads tab.