How to Show Ads on Your Website
Learn how to show ads from Google AdSense on your website
Updated over a week ago

Once you've connected Google AdSense to your website, it's time to set up the ads for them to appear visible to the website's visitors.

In this article you will learn how to:

Create Ads

You can choose from two types of ads:

Google itself decides which ads to show and where to show them, allowing you to focus on creating quality ad content

You can select from a range of ad types and ad sizes, and position your ads exactly where you want them to appear on your pages

You control all the ads with the flick of a switch

It's up to you to ensure that your ads comply with the AdSense program policies

Auto ads work on mobile, tablet, and desktop and provide good ad coverage on your pages

Google will only show Auto ads when they're likely to perform well and provide a good user experience

Set Up Auto Ads

Before you begin, make sure that your website is listed on your Ads page. Learn more: Add a new site to your sites list

Follow this guide by Google AdSense: How to set up Auto ads.

NOTE: It takes up to an hour for the ads to appear on your website

Create Display Ad Units

Follow this guide by Google AdSense: Create a display ad unit. Copy and paste the ad unit code into your website using the embed code element.

NOTE: It takes up to an hour for the ads to appear on your website; if it takes longer, check if your website has the status Ready: Check the status of AdSense sites


Find the Code of Your Ads

Auto Ads

Follow this guide by Google AdSense: How to get and copy the code for Auto ads

Copy the AdSense code, and paste it into the <head></head> part of your website's code. Note that it takes up to an hour for the ads to appear on your website.

Ad Units

Follow this guide by Google AdSense: How to get and copy the code for ad units


Copy the ad unit code, and paste it into your website using the embed code element.

Did this answer your question?