Interface ConsentOrBuilder (0.1.0)

public interface ConsentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdPersonalization()

public abstract ConsentStatus getAdPersonalization()

Optional. Represents if the user consents to ad personalization.

.google.ads.datamanager.v1.ConsentStatus ad_personalization = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConsentStatus

The adPersonalization.

getAdPersonalizationValue()

public abstract int getAdPersonalizationValue()

Optional. Represents if the user consents to ad personalization.

.google.ads.datamanager.v1.ConsentStatus ad_personalization = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for adPersonalization.

getAdUserData()

public abstract ConsentStatus getAdUserData()

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

.google.ads.datamanager.v1.ConsentStatus ad_user_data = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConsentStatus

The adUserData.

getAdUserDataValue()

public abstract int getAdUserDataValue()

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

.google.ads.datamanager.v1.ConsentStatus ad_user_data = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for adUserData.