Enum 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 enum google.ads.googleads.v10.enums.CriterionTypeEnum.CriterionType
    • 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 name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        java.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.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        java.lang.NullPointerException - if the argument is null