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="" crossorigin="anonymous"></script>
    <!-- Example ad unit -->
    <ins class="adsbygoogle"
    (adsbygoogle = window.adsbygoogle || []).push({});

Was this helpful?

How can we improve it?
Clear search
Close search
Google apps
Main menu
Search Help Center