Clear search
Close search
Google apps
Main menu

Activating your AdSense account

Connect your site to AdSense

To complete the AdSense activation process you need to connect your site to AdSense. Here's how:

  1. Sign in to your AdSense account.
  2. Copy the code on your AdSense homepage.
  3. Paste the code into the HTML of your page, between the <head> and </head> tags.
    How you go about this step will depend on the tools you use to edit your site, e.g., HTML editor, website builder, CMS, etc. If you need more assistance, visit the Help Center or support forum for the tool you're using.
    View an example HTML page with the code added

    <script async src="//"></script>
    (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: "ca-pub-123456789",
    enable_page_level_ads: true

    This is the head of your page.
    <title>Example HTML page</title>
    This is the body of your page.

  4. When you've finished, check the box and click Done.

We can't detect the code

If we can't detect the code on your site, we'll send you an email. To help you fix the issue, here are a few things to check:

  • 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 your sign-up site?
Was this article helpful?
How can we improve it?
Sign in to AdSense

Sign in to AdSense to see help for your account Don't have an AdSense account? Sign Up for AdSense!