為了協助測試,Chrome 提供測試模式,可讓網站在沒有第三方 Cookie 的情況下預覽網站行為。為協助出價工具測試,出價要求包含 Chrome 的 Cookie 淘汰標籤。出價方也可使用預先指定功能,篩選包含 Cookie 淘汰標籤的要求。
如要瞭解 Google Ad Manager 如何處理 Cookie 淘汰標籤,請參閱 Google Ad Manager 說明中心。
出價要求
Google Authorized Buyers 出價要求通訊協定
Chrome 的 Cookie 淘汰標籤會顯示在 BidRequest.Device
訊息的 cookie_deprecation_label
欄位中。這個欄位可在通訊協定公開測試版中提供。
定義如下:
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 出價:
{
"device": {
"ext": {
"cdep": "label_only_3"
}
}
}
這項擴充功能提供通訊協定公開測試版。
適用國家/地區
出價要求中出現 Chrome 淘汰標籤時,必須遵守現有的隱私權保護措施和控制項。舉例來說,如果使用者選擇不採用個人化廣告,就無法透過 Chrome 提供的標籤。
預先指定維度
出價方可以在預先指定設定上設定新的預先指定維度,以篩選包含 Chrome 標籤的要求。每個預先指定設定可包含一或多個標籤。
支援的標籤如下:
模式 | 標籤 |
B |
|
A |
|
舉例來說,如果預先指定設定包含 [label_only_3, label_only_4]
,當要求包含 label_only_3
或 label_only_4
時,預先指定設定就會相符。