通知

請務必前往您的 AdSense 頁面,查看帳戶的相關個人化資訊,運用 AdSense 順利達成目標。

GDPR 總覽與規範

針對歐洲經濟區、英國和瑞士境內使用者,為廣告請求加上受限的資料處理標記

您可以使用 TFUA (先前稱為「未滿法定同意年齡標記」) 標記,針對歐洲經濟區 (EEA)、英國和瑞士境內的使用者,將廣告請求標為採用受限的資料處理模式。這項功能的立意是協助您遵守《一般資料保護規則》(GDPR) 和相關兒童隱私權法規,例如《適齡線上服務設計規範》(AADC)。請注意,您可能也需要配合 GDPR 和 AADC 遵守其他法律義務;請詳閱所有法規遵循指南,並諮詢您的法律顧問。提醒您,Google 提供工具的用意是協助發布商遵守規定,而非方便發布商規避法定義務。進一步瞭解 GDPR 和 AADC 對發布商的影響

使用這項功能時,廣告請求將會包含 TFUA 參數。這個參數會針對特定廣告請求停用個人化廣告功能 (包括再行銷),並且停止向第三方廣告供應商 (例如廣告評估像素和第三方廣告伺服器) 提出其他請求。

如果在廣告請求中加入 TFUA 參數,該參數的效力將高於任何相關網站層級設定。

如果您使用 Google 的廣告服務,且想在網站、子網域或應用程式層級 (而非個別廣告請求) 要求符合 COPPA 規範的受限的資料處理模式,請參閱替網站或廣告請求設定「兒童導向內容」標記

進一步瞭解 TFCD 和 COPPA

TFCD 和 TFUA 代碼不得同時設為 true。如果兩者都做這樣的設定,系統會優先採用 TFCD 代碼。

JavaScript 代碼

如果您的網頁是以非同步廣告程式碼 (adsbygoogle.js) 向 AdSense 請求廣告 (AFC),請在每個代碼中納入「data-tag-for-under-age-of-consent="1"」這個參數,以便為受限的資料處理請求合適的廣告。例如:

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1234567890123456" crossorigin="anonymous">
</script>
<ins class="adsbygoogle"
    style="display:inline-block;width:728px;height:90px"
    data-ad-client="ca-pub-1234567890123456"
    data-ad-slot="0123456789"
    data-tag-for-under-age-of-consent="1"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

如果您使用比較舊的同步廣告代碼 (show_ads.js),請在每個廣告代碼中設定「google_tag_for_under_age_of_consent=1」這個變數。例如:

<script>
google_ad_client = "ca-pub-1234567890123456";
google_ad_slot = "0123456789";
google_ad_width = 125;
google_ad_height = 125;
google_tag_for_under_age_of_consent = 1;
</script>
<script src="https://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<amp-ad> 代碼

您可以使用 <amp-ad type="adsense"> 代碼透過 amp-consent 元件標記受限的資料處理請求。這個元件允許發布商指定 checkConsentHref 端點;系統會在透過任何指定「data-block-on-consent」屬性的網頁元件傳送請求前,先行查詢這個端點。進一步瞭解 amp-consentConsentHref 回應的格式

如果發布商的 ConsentHref 端點傳回「tfua」或「tfcd」的鍵,後續 AdSense 請求會分別標記為受限的資料處理。舉例來說,假如 AMP 網頁含有同意元件和廣告:

<amp-consent layout="nodisplay" id="consent-element">
<script type="application/json">
{
  "consents": {
    "my-consent": {
      "checkConsentHref": "https://publisher.com/api/check-consent",
      "promptUI": "consent-ui"
    }
  }
}
</script>
</amp-consent>
  
<amp-ad data-block-on-consent
    width=320 height=50
    type="adsense"
    data-slot="/4119129/mobile_ad_banner" 
    json='{"targeting":{"sport":["rugby","cricket"]},
      "categoryExclusions":["health"]}'>
</amp-ad>

則下列來自發布商的 ConsentHref (https://publisher.com/api/check-consent) 回應會為 AdSense 廣告請求啟用受限的資料處理:

{
  "promptIfUnknown": false,
  "sharedData": {
    "adsense-tfua": 1,
    "adsense-tfcd": 0
  }
}

您也可以透過指定 JSON 物件,在 <amp-ad> 代碼中靜態設定 TFUATFCD,範例如下:

<amp-ad data-block-on-consent
    width=320 height=50
    type="adsense"
    data-slot="/4119129/mobile_ad_banner"
    json='{"targeting":{"sport":["rugby","cricket"]},
      "categoryExclusions":["health"],
      "tagForChildDirectedTreatment":1,
      "tagForUnderAgeTreatment":1}'>
</amp-ad>

最後,為了幫助您遵守這些規定,您也可以為向第三方提出請求的其他 AMP 元件 (例如 amp-analyticsamp-pixel) 設定 data-block-on-consent

這對您有幫助嗎?

我們應如何改進呢?
true
您的 AdSense 頁面

「AdSense 頁面」隆重登場:透過這項全新資源,您可以在帳戶中找到個人化資訊和新商機,運用 AdSense 順利達成目標。

搜尋
清除搜尋內容
關閉搜尋
主選單
5189985907281572176
true
搜尋說明中心
true
true
true
true
true
157
false
false