Package com.google.doubleclick
Enum AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason
- java.lang.Object
-
- java.lang.Enum<AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason>
-
- com.google.doubleclick.AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason>
- Enclosing class:
- AdxExt.BidRequestExt.PrivacyTreatments
public static enum AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason extends Enum<AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason> implements com.google.protobuf.ProtocolMessageEnum
Specifies the reasons that ads returned in response to this request should not be personalized.
Protobuf enumcom.google.doubleclick.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PUBLISHER_DECLARED_NPAThe publisher has declared that this request should serve non-personalized ads independent of other signals.RESTRICT_DATA_PROCESSINGThe publisher has requested restricted data processing for this request.UNKNOWNUNKNOWN = 0;USER_OPT_OUTThe user has opted out of ads personalization.
-
Field Summary
Fields Modifier and Type Field Description static intPUBLISHER_DECLARED_NPA_VALUEThe publisher has declared that this request should serve non-personalized ads independent of other signals.static intRESTRICT_DATA_PROCESSING_VALUEThe publisher has requested restricted data processing for this request.static intUNKNOWN_VALUEUNKNOWN = 0;static intUSER_OPT_OUT_VALUEThe user has opted out of ads personalization.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReasonforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason>internalGetValueMap()static AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReasonvalueOf(int value)Deprecated.static AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReasonvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReasonvalueOf(String name)Returns the enum constant of this type with the specified name.static AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason UNKNOWN
UNKNOWN = 0;
-
PUBLISHER_DECLARED_NPA
public static final AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason PUBLISHER_DECLARED_NPA
The publisher has declared that this request should serve non-personalized ads independent of other signals. https://support.google.com/admanager/answer/9005435#npa
PUBLISHER_DECLARED_NPA = 1;
-
RESTRICT_DATA_PROCESSING
public static final AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason RESTRICT_DATA_PROCESSING
The publisher has requested restricted data processing for this request. https://support.google.com/authorizedbuyers/answer/11121285
RESTRICT_DATA_PROCESSING = 2;
-
USER_OPT_OUT
public static final AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason USER_OPT_OUT
The user has opted out of ads personalization.
USER_OPT_OUT = 3;
-
-
Field Detail
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
UNKNOWN = 0;- See Also:
- Constant Field Values
-
PUBLISHER_DECLARED_NPA_VALUE
public static final int PUBLISHER_DECLARED_NPA_VALUE
The publisher has declared that this request should serve non-personalized ads independent of other signals. https://support.google.com/admanager/answer/9005435#npa
PUBLISHER_DECLARED_NPA = 1;- See Also:
- Constant Field Values
-
RESTRICT_DATA_PROCESSING_VALUE
public static final int RESTRICT_DATA_PROCESSING_VALUE
The publisher has requested restricted data processing for this request. https://support.google.com/authorizedbuyers/answer/11121285
RESTRICT_DATA_PROCESSING = 2;- See Also:
- Constant Field Values
-
USER_OPT_OUT_VALUE
public static final int USER_OPT_OUT_VALUE
The user has opted out of ads personalization.
USER_OPT_OUT = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason c : AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-