The Data Manager API is in closed beta. To express interest in joining the closed beta, fill out
this form.
Consent
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
ConsentStatus
列舉 |
CONSENT_STATUS_UNSPECIFIED |
不指定。 |
CONSENT_GRANTED |
已授予。 |
CONSENT_DENIED |
已拒絕。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[],[],null,["# Consent\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [ConsentStatus](#ConsentStatus)\n\n[Digital Markets Act (DMA)](//digital-markets-act.ec.europa.eu/index_en) consent settings for the user.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"adUserData\": enum (/data-manager/api/reference/rest/v1/Consent#ConsentStatus), \"adPersonalization\": enum (/data-manager/api/reference/rest/v1/Consent#ConsentStatus) } ``` |\n\n| Fields ||\n|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `adUserData` | `enum (`[ConsentStatus](/data-manager/api/reference/rest/v1/Consent#ConsentStatus)`)` Optional. Represents if the user consents to ad user data. |\n| `adPersonalization` | `enum (`[ConsentStatus](/data-manager/api/reference/rest/v1/Consent#ConsentStatus)`)` Optional. Represents if the user consents to ad personalization. |\n\nConsentStatus\n-------------\n\nRepresents if the user granted, denied, or hasn't specified consent.\n\n| Enums ||\n|------------------------------|----------------|\n| `CONSENT_STATUS_UNSPECIFIED` | Not specified. |\n| `CONSENT_GRANTED` | Granted. |\n| `CONSENT_DENIED` | Denied. |"]]