Find your publisher ID

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

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. In the "Account information" section, see the "Publisher ID" field.

On the My AdSense page in the AdSense Help Center

  1. Visit the My 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 ViewDeveloper, 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="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- Example ad unit -->
    <ins class="adsbygoogle"
         style="display:block"
         data-ad-client="ca-pub-1234567891234567"
         data-ad-slot="1234567890"
         data-ad-format="auto"
         data-full-width-responsive="true"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>

Was this article helpful?
How can we improve it?