Notification

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

Account settings

Find your publisher ID

You can check your account, the AdSense Help Centre, an official email or your ad code to find your publisher ID. #pubid

Your publisher ID is the unique identifier for your AdSense account. To protect the security of your account and make it easier for us to find account-specific details, you may be asked to provide this ID when you communicate with Google.

Your publisher ID looks like this: pub-1234567890123456.

There are several different ways to find your publisher ID:

In your AdSense account

  1. Sign in to your AdSense account.
  2. Click Account.
  3. Click Settings, then Account information.
  4. Review the 'Publisher ID' field.

On your AdSense page in the AdSense Help Centre

  1. Visit the Your AdSense page in the AdSense Help Centre.
  2. If you're not already signed in, sign in to the Google Account that you use to access AdSense.
  3. Find your publisher ID in the 'This email is associated to the AdSense account' field.

In an email that you received from AdSense

Search your inbox for an email from Google AdSense, for example, your 'Welcome to AdSense' email. You can find your publisher ID at the top of the email.

In your AdSense ad code

Alternatively, you can find your publisher ID in the ad code on your site:

  1. In your browser, open a page that you show ads on.
  2. View your page's source code (e.g. in Chrome, click View, Developer, and then View source).
  3. In your HTML source code, find a piece of ad code. For example, search for the term 'adsbygoogle'.
  4. In the ad code, find the line that contains your publisher ID:
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1234567890123456" crossorigin="anonymous"></script>
    <!-- Example ad unit -->
    <ins class="adsbygoogle"
         style="display:block"
         data-ad-client="ca-pub-1234567890123456"
         data-ad-slot="1234567890"
         data-ad-format="auto"
         data-full-width-responsive="true"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Google apps
Main menu
11493365332550800710
true
Search Help Centre
true
true
true