This article explains the AdSense site review process and how to connect your site to AdSense. It also tells you what to do if you have connection issues with your site.
To complete the AdSense activation process you need to connect your site to AdSense. You won't be able to show ads until your site’s been approved.
Site approvals
We review your entire site to check it complies with the AdSense Program policies. This usually takes a few days, but in some cases it can take 2-4 weeks. You can check the status of the review on the "Sites" card on your AdSense homepage.
Instructions
If you didn't add a site when you created your AdSense account, first add your site and then connect your site to AdSense.
Add your site
- Sign in to your AdSense account.
- On the AdSense homepage, click Add site.
- Enter the URL of the site that you want to show ads on.
- Click Save.
Tip: If you own multiple sites, you can add them now too. On the AdSense homepage, open the site selector and click Add another site.
Connect your site
- On the AdSense homepage, in the "Connect your site to AdSense" card, click Let's go.
- Select a verification method to connect your site to AdSense:
- AdSense code snippet
Copy and paste the code into the HTML of your page, between the
<head>
and</head>
tags. Make sure you place the code on every page you want ads to appear. Learn more about pasting ad code in our Code implementation guide.Tip: WordPress user? Learn how to insert ad code in your WordPress site.View an example HTML page with the AdSense code added<html>
<head>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ignored1234567890123456" crossorigin="anonymous"></script>
This is the head of your page.
<title>Example HTML page</title>
</head>
<body>
This is the body of your page.
</body>
</html> - Ads.txt code snippet
Copy and paste the code into your ads.txt file, and upload the ads.txt file to your site's root directory. If you have an existing ads.txt file, paste the code into each ads.txt file. Learn more about creating an ads.txt file.
View an example ads.txt fileYour ads.txt file should look like this, wherepub-0000000000000000
is your own publisher ID:google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0
- Meta tag
You might want to use this method if you don't want to place the AdSense code snippet on your homepage.
Copy and paste the code into the HTML of your page, between the
<head>
and</head>
tags.View an example HTML page with the meta tag added<html>
<head>
<meta name="google-adsense-account" content="ignored0000000000000000">
This is the head of your page.
<title>Example HTML page</title>
</head>
<body>
This is the body of your page.
</body>
</html>
- AdSense code snippet
- Select the check box to confirm you've finished, then click Verify.
- Click Request review.
-
(Optional) Once you have requested the site review, select a consent management platform (CMP) option and click Submit.
- If you choose to use Google's CMP, we will automatically create a European regulations message for this site and any sites you add going forward. You can choose from a two-button configuration ("Consent," "Manage options") or a three-button configuration ("Consent," "Manage options," "Do not consent"). To customize the new message, go to Privacy & messaging, click Manage on the European regulations message type card, then click the message you want to edit.
- Alternatively, you may choose to use a certified third-party CMP. A European regulations message won't be automatically generated for your site if you select this option.
Connection issues
If we can't confirm the code is placed correctly on your site you'll see a message on your AdSense homepage. Here are some things to check to help you fix connection issues.
The code is missing or incomplete
- Did you paste the code into the HTML of your site?
- Did you paste the code between the
<head>
and</head>
tags? - Did you paste the code into the site you used to sign up for AdSense?
- Did you place the code on a page that has content and receives regular visitors?
Your site is unreachable
- Did you provide the correct URL when you created your AdSense account? If you made a mistake, you can use the site selector on the AdSense homepage to remove the incorrect site and add a new site.
- Is your site up and running? Make sure your site is published and live on the web.
- Can AdSense access your site without a password? If your site's login protected, consider temporarily removing the login so that we can reach your site. Note that after your account has been successfully activated, you can create a crawler login to display Google ads on your login-protected pages.
- Can the AdSense crawler access your site? Make sure you're not blocking our crawler in your robots.txt file. Learn how to give access to our crawler in your robots.txt file.