Consent

  • The document describes two fields related to consent:ad_user_data andad_personalization.

  • Bothad_user_data andad_personalization use theConsentStatus type.

  • Thead_personalization field is specifically for consent regarding ad personalization.

  • Thead_personalization field can only be set inOfflineUserDataJobService andUserDataService.

Consent

Proto definition

Fields

ad_personalization

ConsentStatus

This represents consent for ad personalization. This can only be set for OfflineUserDataJobService and UserDataService.

ad_user_data

ConsentStatus

This represents consent for ad user data.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-12 UTC.