Consent

  • DMA consent settings for the user are represented by a JSON object with optional fields for ad user data and ad personalization.

  • The ConsentStatus enum indicates if the user has granted, denied, or not specified consent.

Digital Markets Act (DMA) consent settings for the user.

JSON representation
{
  "adUserData": enum (ConsentStatus),
  "adPersonalization": enum (ConsentStatus)
}
Fields
adUserData

enum (ConsentStatus)

Optional. Represents if the user consents to ad user data.

adPersonalization

enum (ConsentStatus)

Optional. Represents if the user consents to ad personalization.

ConsentStatus

Represents if the user granted, denied, or hasn't specified consent.

Enums
CONSENT_STATUS_UNSPECIFIED Not specified.
CONSENT_GRANTED Granted.
CONSENT_DENIED Denied.