Enum Class CriterionTypeEnum.CriterionType
java.lang.Object
java.lang.Enum<CriterionTypeEnum.CriterionType>
com.google.ads.googleads.v18.enums.CriterionTypeEnum.CriterionType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CriterionTypeEnum.CriterionType>,Constable
- Enclosing class:
- CriterionTypeEnum
public static enum CriterionTypeEnum.CriterionType
extends Enum<CriterionTypeEnum.CriterionType>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible criterion types.Protobuf enum
google.ads.googleads.v18.enums.CriterionTypeEnum.CriterionType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAd Schedule.Age range.App payment model.AudienceBrandBrand ListCarrier.Combined audienceContent Label for category exclusion.Custom affinity.Custom audienceCustom intent.Devices to target.Gender.Income Range.IpBlock.Keyword, for example, 'mars cruise'.Smart Campaign keyword themeLanguage.Life EventListing groups to target.Listing scope to target.Local Services Ads Service ID.Locations to target.Location group.Mobile application categories to target.Mobile applications to target.Mobile device.Negative Keyword ListOperating system version.Parental status.Placement, also known as Website, for example, 'www.flowers4sale.com'Proximity.Search Theme.A topic target on the display network (for example, "Pets & Animals").Used for return value only.Not specified.A category the user is interested in.User list.Webpage criterion for dynamic search ads.YouTube Channel.YouTube Video. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAd Schedule.static final intAge range.static final intApp payment model.static final intAudiencestatic final intBrand Liststatic final intBrandstatic final intCarrier.static final intCombined audiencestatic final intContent Label for category exclusion.static final intCustom affinity.static final intCustom audiencestatic final intCustom intent.static final intDevices to target.static final intGender.static final intIncome Range.static final intIpBlock.static final intSmart Campaign keyword themestatic final intKeyword, for example, 'mars cruise'.static final intLanguage.static final intLife Eventstatic final intListing groups to target.static final intListing scope to target.static final intLocal Services Ads Service ID.static final intLocation group.static final intLocations to target.static final intMobile application categories to target.static final intMobile applications to target.static final intMobile device.static final intNegative Keyword Liststatic final intOperating system version.static final intParental status.static final intPlacement, also known as Website, for example, 'www.flowers4sale.com'static final intProximity.static final intSearch Theme.static final intA topic target on the display network (for example, "Pets & Animals").static final intUsed for return value only.static final intNot specified.static final intA category the user is interested in.static final intUser list.static final intWebpage criterion for dynamic search ads.static final intYouTube Channel.static final intYouTube Video. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<CriterionTypeEnum.CriterionType>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static CriterionTypeEnum.CriterionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Not specified.
UNSPECIFIED = 0; -
UNKNOWN
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1; -
KEYWORD
Keyword, for example, 'mars cruise'.
KEYWORD = 2; -
PLACEMENT
Placement, also known as Website, for example, 'www.flowers4sale.com'
PLACEMENT = 3; -
MOBILE_APP_CATEGORY
Mobile application categories to target.
MOBILE_APP_CATEGORY = 4; -
MOBILE_APPLICATION
Mobile applications to target.
MOBILE_APPLICATION = 5; -
DEVICE
Devices to target.
DEVICE = 6; -
LOCATION
Locations to target.
LOCATION = 7; -
LISTING_GROUP
Listing groups to target.
LISTING_GROUP = 8; -
AD_SCHEDULE
Ad Schedule.
AD_SCHEDULE = 9; -
AGE_RANGE
Age range.
AGE_RANGE = 10; -
GENDER
Gender.
GENDER = 11; -
INCOME_RANGE
Income Range.
INCOME_RANGE = 12; -
PARENTAL_STATUS
Parental status.
PARENTAL_STATUS = 13; -
YOUTUBE_VIDEO
YouTube Video.
YOUTUBE_VIDEO = 14; -
YOUTUBE_CHANNEL
YouTube Channel.
YOUTUBE_CHANNEL = 15; -
USER_LIST
User list.
USER_LIST = 16; -
PROXIMITY
Proximity.
PROXIMITY = 17; -
TOPIC
A topic target on the display network (for example, "Pets & Animals").
TOPIC = 18; -
LISTING_SCOPE
Listing scope to target.
LISTING_SCOPE = 19; -
LANGUAGE
Language.
LANGUAGE = 20; -
IP_BLOCK
IpBlock.
IP_BLOCK = 21; -
CONTENT_LABEL
Content Label for category exclusion.
CONTENT_LABEL = 22; -
CARRIER
Carrier.
CARRIER = 23; -
USER_INTEREST
A category the user is interested in.
USER_INTEREST = 24; -
WEBPAGE
Webpage criterion for dynamic search ads.
WEBPAGE = 25; -
OPERATING_SYSTEM_VERSION
Operating system version.
OPERATING_SYSTEM_VERSION = 26; -
APP_PAYMENT_MODEL
App payment model.
APP_PAYMENT_MODEL = 27; -
MOBILE_DEVICE
Mobile device.
MOBILE_DEVICE = 28; -
CUSTOM_AFFINITY
Custom affinity.
CUSTOM_AFFINITY = 29; -
CUSTOM_INTENT
Custom intent.
CUSTOM_INTENT = 30; -
LOCATION_GROUP
Location group.
LOCATION_GROUP = 31; -
CUSTOM_AUDIENCE
Custom audience
CUSTOM_AUDIENCE = 32; -
COMBINED_AUDIENCE
Combined audience
COMBINED_AUDIENCE = 33; -
KEYWORD_THEME
Smart Campaign keyword theme
KEYWORD_THEME = 34; -
AUDIENCE
Audience
AUDIENCE = 35; -
NEGATIVE_KEYWORD_LIST
Negative Keyword List
NEGATIVE_KEYWORD_LIST = 36; -
LOCAL_SERVICE_ID
Local Services Ads Service ID.
LOCAL_SERVICE_ID = 37; -
SEARCH_THEME
Search Theme.
SEARCH_THEME = 38; -
BRAND
Brand
BRAND = 39; -
BRAND_LIST
Brand List
BRAND_LIST = 40; -
LIFE_EVENT
Life Event
LIFE_EVENT = 41; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUENot specified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUsed for return value only. Represents value unknown in this version.
UNKNOWN = 1;- See Also:
-
KEYWORD_VALUE
public static final int KEYWORD_VALUEKeyword, for example, 'mars cruise'.
KEYWORD = 2;- See Also:
-
PLACEMENT_VALUE
public static final int PLACEMENT_VALUEPlacement, also known as Website, for example, 'www.flowers4sale.com'
PLACEMENT = 3;- See Also:
-
MOBILE_APP_CATEGORY_VALUE
public static final int MOBILE_APP_CATEGORY_VALUEMobile application categories to target.
MOBILE_APP_CATEGORY = 4;- See Also:
-
MOBILE_APPLICATION_VALUE
public static final int MOBILE_APPLICATION_VALUEMobile applications to target.
MOBILE_APPLICATION = 5;- See Also:
-
DEVICE_VALUE
public static final int DEVICE_VALUEDevices to target.
DEVICE = 6;- See Also:
-
LOCATION_VALUE
public static final int LOCATION_VALUELocations to target.
LOCATION = 7;- See Also:
-
LISTING_GROUP_VALUE
public static final int LISTING_GROUP_VALUEListing groups to target.
LISTING_GROUP = 8;- See Also:
-
AD_SCHEDULE_VALUE
public static final int AD_SCHEDULE_VALUEAd Schedule.
AD_SCHEDULE = 9;- See Also:
-
AGE_RANGE_VALUE
public static final int AGE_RANGE_VALUEAge range.
AGE_RANGE = 10;- See Also:
-
GENDER_VALUE
public static final int GENDER_VALUEGender.
GENDER = 11;- See Also:
-
INCOME_RANGE_VALUE
public static final int INCOME_RANGE_VALUEIncome Range.
INCOME_RANGE = 12;- See Also:
-
PARENTAL_STATUS_VALUE
public static final int PARENTAL_STATUS_VALUEParental status.
PARENTAL_STATUS = 13;- See Also:
-
YOUTUBE_VIDEO_VALUE
public static final int YOUTUBE_VIDEO_VALUEYouTube Video.
YOUTUBE_VIDEO = 14;- See Also:
-
YOUTUBE_CHANNEL_VALUE
public static final int YOUTUBE_CHANNEL_VALUEYouTube Channel.
YOUTUBE_CHANNEL = 15;- See Also:
-
USER_LIST_VALUE
public static final int USER_LIST_VALUEUser list.
USER_LIST = 16;- See Also:
-
PROXIMITY_VALUE
public static final int PROXIMITY_VALUEProximity.
PROXIMITY = 17;- See Also:
-
TOPIC_VALUE
public static final int TOPIC_VALUEA topic target on the display network (for example, "Pets & Animals").
TOPIC = 18;- See Also:
-
LISTING_SCOPE_VALUE
public static final int LISTING_SCOPE_VALUEListing scope to target.
LISTING_SCOPE = 19;- See Also:
-
LANGUAGE_VALUE
public static final int LANGUAGE_VALUELanguage.
LANGUAGE = 20;- See Also:
-
IP_BLOCK_VALUE
public static final int IP_BLOCK_VALUEIpBlock.
IP_BLOCK = 21;- See Also:
-
CONTENT_LABEL_VALUE
public static final int CONTENT_LABEL_VALUEContent Label for category exclusion.
CONTENT_LABEL = 22;- See Also:
-
CARRIER_VALUE
public static final int CARRIER_VALUECarrier.
CARRIER = 23;- See Also:
-
USER_INTEREST_VALUE
public static final int USER_INTEREST_VALUEA category the user is interested in.
USER_INTEREST = 24;- See Also:
-
WEBPAGE_VALUE
public static final int WEBPAGE_VALUEWebpage criterion for dynamic search ads.
WEBPAGE = 25;- See Also:
-
OPERATING_SYSTEM_VERSION_VALUE
public static final int OPERATING_SYSTEM_VERSION_VALUEOperating system version.
OPERATING_SYSTEM_VERSION = 26;- See Also:
-
APP_PAYMENT_MODEL_VALUE
public static final int APP_PAYMENT_MODEL_VALUEApp payment model.
APP_PAYMENT_MODEL = 27;- See Also:
-
MOBILE_DEVICE_VALUE
public static final int MOBILE_DEVICE_VALUEMobile device.
MOBILE_DEVICE = 28;- See Also:
-
CUSTOM_AFFINITY_VALUE
public static final int CUSTOM_AFFINITY_VALUECustom affinity.
CUSTOM_AFFINITY = 29;- See Also:
-
CUSTOM_INTENT_VALUE
public static final int CUSTOM_INTENT_VALUECustom intent.
CUSTOM_INTENT = 30;- See Also:
-
LOCATION_GROUP_VALUE
public static final int LOCATION_GROUP_VALUELocation group.
LOCATION_GROUP = 31;- See Also:
-
CUSTOM_AUDIENCE_VALUE
public static final int CUSTOM_AUDIENCE_VALUECustom audience
CUSTOM_AUDIENCE = 32;- See Also:
-
COMBINED_AUDIENCE_VALUE
public static final int COMBINED_AUDIENCE_VALUECombined audience
COMBINED_AUDIENCE = 33;- See Also:
-
KEYWORD_THEME_VALUE
public static final int KEYWORD_THEME_VALUESmart Campaign keyword theme
KEYWORD_THEME = 34;- See Also:
-
AUDIENCE_VALUE
public static final int AUDIENCE_VALUEAudience
AUDIENCE = 35;- See Also:
-
NEGATIVE_KEYWORD_LIST_VALUE
public static final int NEGATIVE_KEYWORD_LIST_VALUENegative Keyword List
NEGATIVE_KEYWORD_LIST = 36;- See Also:
-
LOCAL_SERVICE_ID_VALUE
public static final int LOCAL_SERVICE_ID_VALUELocal Services Ads Service ID.
LOCAL_SERVICE_ID = 37;- See Also:
-
SEARCH_THEME_VALUE
public static final int SEARCH_THEME_VALUESearch Theme.
SEARCH_THEME = 38;- See Also:
-
BRAND_VALUE
public static final int BRAND_VALUEBrand
BRAND = 39;- See Also:
-
BRAND_LIST_VALUE
public static final int BRAND_LIST_VALUEBrand List
BRAND_LIST = 40;- See Also:
-
LIFE_EVENT_VALUE
public static final int LIFE_EVENT_VALUELife Event
LIFE_EVENT = 41;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-