Since you are looking for publisher ID of AdSense, I am assuming you already have a google AdSense account.

There is a difference between publisher id or customer id, make sure to select the id against publisher id.

  1. Sign in to your AdSense account at https://www.google.com/adsense/.
  2. Once you're logged in, you'll be taken to your AdSense dashboard.
  3. In the left sidebar, click on "Account information."
  4. Under the "Account information" section, you'll see your "Publisher ID." It's a unique alphanumeric code that starts with "pub-". For example, it may look like "pub-1234567890123456."

Alternatively, you can also find your publisher ID in the AdSense code that you place on your website. Look for a line of code that looks like this:
The number within the quotation marks ("pub-1234567890123456" in the example) is your publisher ID.

Remember that your publisher ID is confidential information, so be cautious and keep it secure.