Notification

Please make sure to visit Your AdSense Page where you can find personalized information about your account to help you succeed with AdSense.

Activate your account

Connect your site to AdSense

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.

Tip: If it's taking a long time for us to approve your site, review the Connection issues section below. Typically, when a publisher waits a long time to be activated, it's because they haven't placed the code on a page that gets regular views.

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

  1. Sign in to your AdSense account.
  2. On the AdSense homepage, click Add site.
  3. Enter the URL of the site that you want to show ads on.
    Blogger, YouTube or other host partner

    If you use Blogger or YouTube (or another AdSense partner), you should sign up for AdSense via your account there as these products follow a different process.

  4. 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

  1. On the AdSense homepage, in the "Connect your site to AdSense" card, click Let's go.
  2. 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 file
      Your ads.txt file should look like this, where pub-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>

  3. Select the check box to confirm you've finished, then click Verify.
  4. Click Request review.

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.

Was this helpful?

How can we improve it?
true
Unlock Growth Potential

Don't miss out on valuable AdSense insights. Opt in to receive performance reports, personalized tips, and webinar invites that can help boost your earnings

Opt in

Search
Clear search
Close search
Google apps
Main menu
12461310038916572344
true
Search Help Center
true
true
true
true
true
157
false
false