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
- On your AdSense page in the AdSense Help Centre
- In an email you received from AdSense
- In your AdSense ad code
In your AdSense account
- Sign in to your AdSense account.
- Click Account.
- Click Settings, then Account information.
- Review the 'Publisher ID' field.
On your AdSense page in the AdSense Help Centre
- Visit the Your AdSense page in the AdSense Help Centre.
- If you're not already signed in, sign in to the Google Account that you use to access AdSense.
- 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:
- In your browser, open a page that you show ads on.
- View your page's source code (e.g. in Chrome, click View, Developer, and then View source).
- In your HTML source code, find a piece of ad code. For example, search for the term '
adsbygoogle
'. - 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>