Enum CriterionTypeEnum.CriterionType
- java.lang.Object
-
- java.lang.Enum<CriterionTypeEnum.CriterionType>
-
- com.google.ads.googleads.v10.enums.CriterionTypeEnum.CriterionType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<CriterionTypeEnum.CriterionType>
- Enclosing class:
- CriterionTypeEnum
public static enum CriterionTypeEnum.CriterionType extends java.lang.Enum<CriterionTypeEnum.CriterionType> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible criterion types.
Protobuf enumgoogle.ads.googleads.v10.enums.CriterionTypeEnum.CriterionType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AD_SCHEDULEAd Schedule.AGE_RANGEAge range.APP_PAYMENT_MODELApp payment model.AUDIENCEAudienceCARRIERCarrier.COMBINED_AUDIENCECombined audienceCONTENT_LABELContent Label for category exclusion.CUSTOM_AFFINITYCustom affinity.CUSTOM_AUDIENCECustom audienceCUSTOM_INTENTCustom intent.DEVICEDevices to target.GENDERGender.INCOME_RANGEIncome Range.IP_BLOCKIpBlock.KEYWORDKeyword.KEYWORD_THEMESmart Campaign keyword themeLANGUAGELanguage.LISTING_GROUPListing groups to target.LISTING_SCOPEListing scope to target.LOCATIONLocations to target.LOCATION_GROUPLocation group.MOBILE_APP_CATEGORYMobile application categories to target.MOBILE_APPLICATIONMobile applications to target.MOBILE_DEVICEMobile device.OPERATING_SYSTEM_VERSIONOperating system version.PARENTAL_STATUSParental status.PLACEMENTPlacement, aka Website.PROXIMITYProximity.TOPICA topic target on the display network (e.g.UNKNOWNUsed for return value only.UNRECOGNIZEDUNSPECIFIEDNot specified.USER_INTERESTA category the user is interested in.USER_LISTUser list.WEBPAGEWebpage criterion for dynamic search ads.YOUTUBE_CHANNELYouTube Channel.YOUTUBE_VIDEOYouTube Video.
-
Field Summary
Fields Modifier and Type Field Description static intAD_SCHEDULE_VALUEAd Schedule.static intAGE_RANGE_VALUEAge range.static intAPP_PAYMENT_MODEL_VALUEApp payment model.static intAUDIENCE_VALUEAudiencestatic intCARRIER_VALUECarrier.static intCOMBINED_AUDIENCE_VALUECombined audiencestatic intCONTENT_LABEL_VALUEContent Label for category exclusion.static intCUSTOM_AFFINITY_VALUECustom affinity.static intCUSTOM_AUDIENCE_VALUECustom audiencestatic intCUSTOM_INTENT_VALUECustom intent.static intDEVICE_VALUEDevices to target.static intGENDER_VALUEGender.static intINCOME_RANGE_VALUEIncome Range.static intIP_BLOCK_VALUEIpBlock.static intKEYWORD_THEME_VALUESmart Campaign keyword themestatic intKEYWORD_VALUEKeyword.static intLANGUAGE_VALUELanguage.static intLISTING_GROUP_VALUEListing groups to target.static intLISTING_SCOPE_VALUEListing scope to target.static intLOCATION_GROUP_VALUELocation group.static intLOCATION_VALUELocations to target.static intMOBILE_APP_CATEGORY_VALUEMobile application categories to target.static intMOBILE_APPLICATION_VALUEMobile applications to target.static intMOBILE_DEVICE_VALUEMobile device.static intOPERATING_SYSTEM_VERSION_VALUEOperating system version.static intPARENTAL_STATUS_VALUEParental status.static intPLACEMENT_VALUEPlacement, aka Website.static intPROXIMITY_VALUEProximity.static intTOPIC_VALUEA topic target on the display network (e.g.static intUNKNOWN_VALUEUsed for return value only.static intUNSPECIFIED_VALUENot specified.static intUSER_INTEREST_VALUEA category the user is interested in.static intUSER_LIST_VALUEUser list.static intWEBPAGE_VALUEWebpage criterion for dynamic search ads.static intYOUTUBE_CHANNEL_VALUEYouTube Channel.static intYOUTUBE_VIDEO_VALUEYouTube Video.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CriterionTypeEnum.CriterionTypeforNumber(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<CriterionTypeEnum.CriterionType>internalGetValueMap()static CriterionTypeEnum.CriterionTypevalueOf(int value)Deprecated.static CriterionTypeEnum.CriterionTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static CriterionTypeEnum.CriterionTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CriterionTypeEnum.CriterionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final CriterionTypeEnum.CriterionType UNSPECIFIED
Not specified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final CriterionTypeEnum.CriterionType UNKNOWN
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1;
-
KEYWORD
public static final CriterionTypeEnum.CriterionType KEYWORD
Keyword. e.g. 'mars cruise'.
KEYWORD = 2;
-
PLACEMENT
public static final CriterionTypeEnum.CriterionType PLACEMENT
Placement, aka Website. e.g. 'www.flowers4sale.com'
PLACEMENT = 3;
-
MOBILE_APP_CATEGORY
public static final CriterionTypeEnum.CriterionType MOBILE_APP_CATEGORY
Mobile application categories to target.
MOBILE_APP_CATEGORY = 4;
-
MOBILE_APPLICATION
public static final CriterionTypeEnum.CriterionType MOBILE_APPLICATION
Mobile applications to target.
MOBILE_APPLICATION = 5;
-
DEVICE
public static final CriterionTypeEnum.CriterionType DEVICE
Devices to target.
DEVICE = 6;
-
LOCATION
public static final CriterionTypeEnum.CriterionType LOCATION
Locations to target.
LOCATION = 7;
-
LISTING_GROUP
public static final CriterionTypeEnum.CriterionType LISTING_GROUP
Listing groups to target.
LISTING_GROUP = 8;
-
AD_SCHEDULE
public static final CriterionTypeEnum.CriterionType AD_SCHEDULE
Ad Schedule.
AD_SCHEDULE = 9;
-
AGE_RANGE
public static final CriterionTypeEnum.CriterionType AGE_RANGE
Age range.
AGE_RANGE = 10;
-
GENDER
public static final CriterionTypeEnum.CriterionType GENDER
Gender.
GENDER = 11;
-
INCOME_RANGE
public static final CriterionTypeEnum.CriterionType INCOME_RANGE
Income Range.
INCOME_RANGE = 12;
-
PARENTAL_STATUS
public static final CriterionTypeEnum.CriterionType PARENTAL_STATUS
Parental status.
PARENTAL_STATUS = 13;
-
YOUTUBE_VIDEO
public static final CriterionTypeEnum.CriterionType YOUTUBE_VIDEO
YouTube Video.
YOUTUBE_VIDEO = 14;
-
YOUTUBE_CHANNEL
public static final CriterionTypeEnum.CriterionType YOUTUBE_CHANNEL
YouTube Channel.
YOUTUBE_CHANNEL = 15;
-
USER_LIST
public static final CriterionTypeEnum.CriterionType USER_LIST
User list.
USER_LIST = 16;
-
PROXIMITY
public static final CriterionTypeEnum.CriterionType PROXIMITY
Proximity.
PROXIMITY = 17;
-
TOPIC
public static final CriterionTypeEnum.CriterionType TOPIC
A topic target on the display network (e.g. "Pets & Animals").
TOPIC = 18;
-
LISTING_SCOPE
public static final CriterionTypeEnum.CriterionType LISTING_SCOPE
Listing scope to target.
LISTING_SCOPE = 19;
-
LANGUAGE
public static final CriterionTypeEnum.CriterionType LANGUAGE
Language.
LANGUAGE = 20;
-
IP_BLOCK
public static final CriterionTypeEnum.CriterionType IP_BLOCK
IpBlock.
IP_BLOCK = 21;
-
CONTENT_LABEL
public static final CriterionTypeEnum.CriterionType CONTENT_LABEL
Content Label for category exclusion.
CONTENT_LABEL = 22;
-
CARRIER
public static final CriterionTypeEnum.CriterionType CARRIER
Carrier.
CARRIER = 23;
-
USER_INTEREST
public static final CriterionTypeEnum.CriterionType USER_INTEREST
A category the user is interested in.
USER_INTEREST = 24;
-
WEBPAGE
public static final CriterionTypeEnum.CriterionType WEBPAGE
Webpage criterion for dynamic search ads.
WEBPAGE = 25;
-
OPERATING_SYSTEM_VERSION
public static final CriterionTypeEnum.CriterionType OPERATING_SYSTEM_VERSION
Operating system version.
OPERATING_SYSTEM_VERSION = 26;
-
APP_PAYMENT_MODEL
public static final CriterionTypeEnum.CriterionType APP_PAYMENT_MODEL
App payment model.
APP_PAYMENT_MODEL = 27;
-
MOBILE_DEVICE
public static final CriterionTypeEnum.CriterionType MOBILE_DEVICE
Mobile device.
MOBILE_DEVICE = 28;
-
CUSTOM_AFFINITY
public static final CriterionTypeEnum.CriterionType CUSTOM_AFFINITY
Custom affinity.
CUSTOM_AFFINITY = 29;
-
CUSTOM_INTENT
public static final CriterionTypeEnum.CriterionType CUSTOM_INTENT
Custom intent.
CUSTOM_INTENT = 30;
-
LOCATION_GROUP
public static final CriterionTypeEnum.CriterionType LOCATION_GROUP
Location group.
LOCATION_GROUP = 31;
-
CUSTOM_AUDIENCE
public static final CriterionTypeEnum.CriterionType CUSTOM_AUDIENCE
Custom audience
CUSTOM_AUDIENCE = 32;
-
COMBINED_AUDIENCE
public static final CriterionTypeEnum.CriterionType COMBINED_AUDIENCE
Combined audience
COMBINED_AUDIENCE = 33;
-
KEYWORD_THEME
public static final CriterionTypeEnum.CriterionType KEYWORD_THEME
Smart Campaign keyword theme
KEYWORD_THEME = 34;
-
AUDIENCE
public static final CriterionTypeEnum.CriterionType AUDIENCE
Audience
AUDIENCE = 35;
-
UNRECOGNIZED
public static final CriterionTypeEnum.CriterionType UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Not specified.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
KEYWORD_VALUE
public static final int KEYWORD_VALUE
Keyword. e.g. 'mars cruise'.
KEYWORD = 2;- See Also:
- Constant Field Values
-
PLACEMENT_VALUE
public static final int PLACEMENT_VALUE
Placement, aka Website. e.g. 'www.flowers4sale.com'
PLACEMENT = 3;- See Also:
- Constant Field Values
-
MOBILE_APP_CATEGORY_VALUE
public static final int MOBILE_APP_CATEGORY_VALUE
Mobile application categories to target.
MOBILE_APP_CATEGORY = 4;- See Also:
- Constant Field Values
-
MOBILE_APPLICATION_VALUE
public static final int MOBILE_APPLICATION_VALUE
Mobile applications to target.
MOBILE_APPLICATION = 5;- See Also:
- Constant Field Values
-
DEVICE_VALUE
public static final int DEVICE_VALUE
Devices to target.
DEVICE = 6;- See Also:
- Constant Field Values
-
LOCATION_VALUE
public static final int LOCATION_VALUE
Locations to target.
LOCATION = 7;- See Also:
- Constant Field Values
-
LISTING_GROUP_VALUE
public static final int LISTING_GROUP_VALUE
Listing groups to target.
LISTING_GROUP = 8;- See Also:
- Constant Field Values
-
AD_SCHEDULE_VALUE
public static final int AD_SCHEDULE_VALUE
Ad Schedule.
AD_SCHEDULE = 9;- See Also:
- Constant Field Values
-
AGE_RANGE_VALUE
public static final int AGE_RANGE_VALUE
Age range.
AGE_RANGE = 10;- See Also:
- Constant Field Values
-
GENDER_VALUE
public static final int GENDER_VALUE
Gender.
GENDER = 11;- See Also:
- Constant Field Values
-
INCOME_RANGE_VALUE
public static final int INCOME_RANGE_VALUE
Income Range.
INCOME_RANGE = 12;- See Also:
- Constant Field Values
-
PARENTAL_STATUS_VALUE
public static final int PARENTAL_STATUS_VALUE
Parental status.
PARENTAL_STATUS = 13;- See Also:
- Constant Field Values
-
YOUTUBE_VIDEO_VALUE
public static final int YOUTUBE_VIDEO_VALUE
YouTube Video.
YOUTUBE_VIDEO = 14;- See Also:
- Constant Field Values
-
YOUTUBE_CHANNEL_VALUE
public static final int YOUTUBE_CHANNEL_VALUE
YouTube Channel.
YOUTUBE_CHANNEL = 15;- See Also:
- Constant Field Values
-
USER_LIST_VALUE
public static final int USER_LIST_VALUE
User list.
USER_LIST = 16;- See Also:
- Constant Field Values
-
PROXIMITY_VALUE
public static final int PROXIMITY_VALUE
Proximity.
PROXIMITY = 17;- See Also:
- Constant Field Values
-
TOPIC_VALUE
public static final int TOPIC_VALUE
A topic target on the display network (e.g. "Pets & Animals").
TOPIC = 18;- See Also:
- Constant Field Values
-
LISTING_SCOPE_VALUE
public static final int LISTING_SCOPE_VALUE
Listing scope to target.
LISTING_SCOPE = 19;- See Also:
- Constant Field Values
-
LANGUAGE_VALUE
public static final int LANGUAGE_VALUE
Language.
LANGUAGE = 20;- See Also:
- Constant Field Values
-
IP_BLOCK_VALUE
public static final int IP_BLOCK_VALUE
IpBlock.
IP_BLOCK = 21;- See Also:
- Constant Field Values
-
CONTENT_LABEL_VALUE
public static final int CONTENT_LABEL_VALUE
Content Label for category exclusion.
CONTENT_LABEL = 22;- See Also:
- Constant Field Values
-
CARRIER_VALUE
public static final int CARRIER_VALUE
Carrier.
CARRIER = 23;- See Also:
- Constant Field Values
-
USER_INTEREST_VALUE
public static final int USER_INTEREST_VALUE
A category the user is interested in.
USER_INTEREST = 24;- See Also:
- Constant Field Values
-
WEBPAGE_VALUE
public static final int WEBPAGE_VALUE
Webpage criterion for dynamic search ads.
WEBPAGE = 25;- See Also:
- Constant Field Values
-
OPERATING_SYSTEM_VERSION_VALUE
public static final int OPERATING_SYSTEM_VERSION_VALUE
Operating system version.
OPERATING_SYSTEM_VERSION = 26;- See Also:
- Constant Field Values
-
APP_PAYMENT_MODEL_VALUE
public static final int APP_PAYMENT_MODEL_VALUE
App payment model.
APP_PAYMENT_MODEL = 27;- See Also:
- Constant Field Values
-
MOBILE_DEVICE_VALUE
public static final int MOBILE_DEVICE_VALUE
Mobile device.
MOBILE_DEVICE = 28;- See Also:
- Constant Field Values
-
CUSTOM_AFFINITY_VALUE
public static final int CUSTOM_AFFINITY_VALUE
Custom affinity.
CUSTOM_AFFINITY = 29;- See Also:
- Constant Field Values
-
CUSTOM_INTENT_VALUE
public static final int CUSTOM_INTENT_VALUE
Custom intent.
CUSTOM_INTENT = 30;- See Also:
- Constant Field Values
-
LOCATION_GROUP_VALUE
public static final int LOCATION_GROUP_VALUE
Location group.
LOCATION_GROUP = 31;- See Also:
- Constant Field Values
-
CUSTOM_AUDIENCE_VALUE
public static final int CUSTOM_AUDIENCE_VALUE
Custom audience
CUSTOM_AUDIENCE = 32;- See Also:
- Constant Field Values
-
COMBINED_AUDIENCE_VALUE
public static final int COMBINED_AUDIENCE_VALUE
Combined audience
COMBINED_AUDIENCE = 33;- See Also:
- Constant Field Values
-
KEYWORD_THEME_VALUE
public static final int KEYWORD_THEME_VALUE
Smart Campaign keyword theme
KEYWORD_THEME = 34;- See Also:
- Constant Field Values
-
AUDIENCE_VALUE
public static final int AUDIENCE_VALUE
Audience
AUDIENCE = 35;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CriterionTypeEnum.CriterionType[] 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 (CriterionTypeEnum.CriterionType c : CriterionTypeEnum.CriterionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CriterionTypeEnum.CriterionType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 CriterionTypeEnum.CriterionType 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static CriterionTypeEnum.CriterionType 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<CriterionTypeEnum.CriterionType> 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 CriterionTypeEnum.CriterionType 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-