Notification

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

Account settings

Find your publisher ID

You can check your account, the AdSense Help Center, 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 Center

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

In an email 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
Main menu
6267658249497213472
true
Search Help Center
true
true
true
true
true
157
false
false