第三方 Cookie 淘汰標籤

為了協助測試,Chrome 提供測試模式,可預覽網站的行為,在沒有第三方 Cookie 的情況下會如何運作。為協助出價者進行測試,出價要求會包含 Chrome 的Cookie 淘汰標籤。出價方也可以使用預先指定功能,篩選含有 Cookie 淘汰標籤的要求。

如要瞭解 Google Ad Manager 如何處理 Cookie 淘汰標籤,請參閱 Google Ad Manager 說明中心

出價要求

Google Authorized Buyers 出價要求通訊協定

Chrome 的 Cookie 淘汰標籤會以 BidRequest.Device 訊息中的 cookie_deprecation_label 欄位表示。這個欄位適用於通訊協定的公開 Beta 版

定義如下:

message BidRequest {
  ...
  message Device {
    ...
    // Chrome-facilitated cookie deprecation testing label as provided by
    // Chrome.
    // https://developer.chrome.com/en/docs/privacy-sandbox/chrome-testing/
    optional string cookie_deprecation_label
  }
  optional Device device
}

OpenRTB 通訊協定

OpenRTB BidRequest.device.ext 訊息中會提供 Chrome 的 Cookie 淘汰標籤。定義如下:

message DeviceExt {
  ...
  // Chrome-facilitated cookie deprecation testing label as received from
  // Chrome.
  // https://developer.chrome.com/en/docs/privacy-sandbox/chrome-testing/
  optional string cdep;
}

範例

以下範例說明 Google Authorized Buyers 和 OpenRTB 通訊協定如何表示 Chrome 提供的標籤。如果 Chrome 傳回 label_only_3

Google Authorized Buyers 通訊協定 BidRequest:

device {
  cookie_deprecation_label: "label_only_3"
}

OpenRTB BidRequest:

{
  "device": {
    "ext": {
      "cdep": "label_only_3"
    }
  }
}

這項擴充功能適用於通訊協定的開放 Beta 版

可用性

出價要求中是否包含 Chrome 淘汰標籤,取決於現有的隱私權保護措施和控制項。舉例來說,如果使用者停用個人化廣告,就無法使用 Chrome 提供的標籤。

預先指定維度

出價者可以在預先指定設定中設定新的預先指定維度,篩選出含有 Chrome 標籤的要求。每個預先指定目標設定可包含一或多個標籤。

支援的標籤如下:

模式 標籤
B
  • control_2
  • treatment_1.1
  • treatment_1.2
  • treatment_1.3
A
  • control_1.1
  • control_1.2
  • control_1.3
  • control_1.4
  • label_only_1
  • label_only_2
  • label_only_3
  • label_only_4
  • label_only_5

舉例來說,如果預先指定目標設定有 [label_only_3, label_only_4],則當要求包含 label_only_3label_only_4 時,預先指定目標設定就會相符。