Class Consent
Digital Markets Act (DMA) consent settings for the user.
Namespace: Google.Ads.DataManager.V1
Assembly: Google.Ads.DataManager.V1.dll
Syntax
public sealed class Consent : IMessage<Consent>, IEquatable<Consent>, IDeepCloneable<Consent>, IBufferMessage, IMessage
Constructors
Consent()
Declaration
public Consent()
Consent(Consent)
Declaration
public Consent(Consent other)
Parameters
| Type | Name | Description |
|---|---|---|
| Consent | other |
Properties
AdPersonalization
Optional. Represents if the user consents to ad personalization.
Declaration
public ConsentStatus AdPersonalization { get; set; }
Property Value
| Type | Description |
|---|---|
| ConsentStatus |
AdUserData
Optional. Represents if the user consents to ad user data.
Declaration
public ConsentStatus AdUserData { get; set; }
Property Value
| Type | Description |
|---|---|
| ConsentStatus |