發布商 ID 是您 AdSense 帳戶的專屬 ID。為了保障帳戶的安全,並方便我們找到帳戶的相關資料,我們可能會在您與 Google 聯絡時要求您提供這個 ID。
您的發布商 ID 格式如下:pub-1234567890123456
。
要找出發布商 ID,您有幾種方法可以使用:
在 AdSense 帳戶中
- 登入 AdSense 帳戶。
- 按一下 [帳戶]。
- 按一下「設定」,然後點選「帳戶資訊」。
- 查看「發布商 ID」欄位。
在 AdSense 說明中心的「您的 AdSense 頁面」上
- 前往 AdSense 說明中心的「您的 AdSense 頁面」。
- 如果您尚未登入,請登入用來存取 AdSense 的 Google 帳戶。
- 發布商 ID 隨即會顯示在「這個電子郵件地址已連結到 AdSense 帳戶」欄位中。
在 AdSense 寄來的電子郵件中
在收件匣中搜尋 Google AdSense 寄來的電子郵件 (例如「歡迎使用 AdSense」這一封),發佈商 ID 就位於信的頂端。
在 AdSense 廣告程式碼中
您也可以在網站上的廣告程式碼中找到發佈商 ID:
- 在瀏覽器中開啟廣告所在的網頁。
- 查看網頁的原始碼 (以 Chrome 為例,請依序按下「檢視」、「開發人員」和「查看原始碼」)。
- 在 HTML 原始碼中找出廣告程式碼,例如搜尋「adsbygoogle」一詞
。
- 在廣告程式碼中找出含有發布商 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>