Interface ConsentOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Consent,Consent.Builder
public interface ConsentOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThis represents consent for ad personalization.intThis represents consent for ad personalization.This represents consent for ad user data.intThis represents consent for ad user data.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAdUserDataValue
int getAdUserDataValue()This represents consent for ad user data.
.google.ads.googleads.v18.enums.ConsentStatusEnum.ConsentStatus ad_user_data = 1;- Returns:
- The enum numeric value on the wire for adUserData.
-
getAdUserData
ConsentStatusEnum.ConsentStatus getAdUserData()This represents consent for ad user data.
.google.ads.googleads.v18.enums.ConsentStatusEnum.ConsentStatus ad_user_data = 1;- Returns:
- The adUserData.
-
getAdPersonalizationValue
int getAdPersonalizationValue()This represents consent for ad personalization. This can only be set for OfflineUserDataJobService and UserDataService.
.google.ads.googleads.v18.enums.ConsentStatusEnum.ConsentStatus ad_personalization = 2;- Returns:
- The enum numeric value on the wire for adPersonalization.
-
getAdPersonalization
ConsentStatusEnum.ConsentStatus getAdPersonalization()This represents consent for ad personalization. This can only be set for OfflineUserDataJobService and UserDataService.
.google.ads.googleads.v18.enums.ConsentStatusEnum.ConsentStatus ad_personalization = 2;- Returns:
- The adPersonalization.
-