Enum SettingErrorEnum.SettingError

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<SettingErrorEnum.SettingError>
    Enclosing class:
    SettingErrorEnum

    public static enum SettingErrorEnum.SettingError
    extends java.lang.Enum<SettingErrorEnum.SettingError>
    implements com.google.protobuf.ProtocolMessageEnum
     Enum describing possible setting errors.
     
    Protobuf enum google.ads.googleads.v10.errors.SettingErrorEnum.SettingError
    • Enum Constant Detail

      • SETTING_TYPE_IS_NOT_AVAILABLE

        public static final SettingErrorEnum.SettingError SETTING_TYPE_IS_NOT_AVAILABLE
         The campaign setting is not available for this Google Ads account.
         
        SETTING_TYPE_IS_NOT_AVAILABLE = 3;
      • SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN

        public static final SettingErrorEnum.SettingError SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN
         The setting is not compatible with the campaign.
         
        SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN = 4;
      • TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP

        public static final SettingErrorEnum.SettingError TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP
         The supplied TargetingSetting contains an invalid CriterionTypeGroup. See
         CriterionTypeGroup documentation for CriterionTypeGroups allowed
         in Campaign or AdGroup TargetingSettings.
         
        TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP = 5;
      • TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL

        public static final SettingErrorEnum.SettingError TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL
         TargetingSetting must not explicitly
         set any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER,
         PARENT, INCOME_RANGE) to false (it's okay to not set them at all, in
         which case the system will set them to true automatically).
         
        TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL = 6;
      • TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP

        public static final SettingErrorEnum.SettingError TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP
         TargetingSetting cannot change any of
         the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT,
         INCOME_RANGE) from true to false.
         
        TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP = 7;
      • DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT

        public static final SettingErrorEnum.SettingError DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT
         At least one feed id should be present.
         
        DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT = 8;
      • DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME

        public static final SettingErrorEnum.SettingError DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME
         The supplied DynamicSearchAdsSetting contains an invalid domain name.
         
        DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME = 9;
      • DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME

        public static final SettingErrorEnum.SettingError DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME
         The supplied DynamicSearchAdsSetting contains a subdomain name.
         
        DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME = 10;
      • DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE

        public static final SettingErrorEnum.SettingError DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE
         The supplied DynamicSearchAdsSetting contains an invalid language code.
         
        DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE = 11;
      • TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN

        public static final SettingErrorEnum.SettingError TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN
         TargetingSettings in search campaigns should not have
         CriterionTypeGroup.PLACEMENT set to targetAll.
         
        TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN = 12;
      • SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN

        public static final SettingErrorEnum.SettingError SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN
         The setting value is not compatible with the campaign type.
         
        SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN = 20;
    • Field Detail

      • UNSPECIFIED_VALUE

        public static final int UNSPECIFIED_VALUE
         Enum unspecified.
         
        UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • UNKNOWN_VALUE

        public static final int UNKNOWN_VALUE
         The received error code is not known in this version.
         
        UNKNOWN = 1;
        See Also:
        Constant Field Values
      • SETTING_TYPE_IS_NOT_AVAILABLE_VALUE

        public static final int SETTING_TYPE_IS_NOT_AVAILABLE_VALUE
         The campaign setting is not available for this Google Ads account.
         
        SETTING_TYPE_IS_NOT_AVAILABLE = 3;
        See Also:
        Constant Field Values
      • SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN_VALUE

        public static final int SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN_VALUE
         The setting is not compatible with the campaign.
         
        SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN = 4;
        See Also:
        Constant Field Values
      • TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP_VALUE

        public static final int TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP_VALUE
         The supplied TargetingSetting contains an invalid CriterionTypeGroup. See
         CriterionTypeGroup documentation for CriterionTypeGroups allowed
         in Campaign or AdGroup TargetingSettings.
         
        TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP = 5;
        See Also:
        Constant Field Values
      • TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL_VALUE

        public static final int TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL_VALUE
         TargetingSetting must not explicitly
         set any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER,
         PARENT, INCOME_RANGE) to false (it's okay to not set them at all, in
         which case the system will set them to true automatically).
         
        TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL = 6;
        See Also:
        Constant Field Values
      • TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP_VALUE

        public static final int TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP_VALUE
         TargetingSetting cannot change any of
         the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT,
         INCOME_RANGE) from true to false.
         
        TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP = 7;
        See Also:
        Constant Field Values
      • DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT_VALUE

        public static final int DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT_VALUE
         At least one feed id should be present.
         
        DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT = 8;
        See Also:
        Constant Field Values
      • DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME_VALUE

        public static final int DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME_VALUE
         The supplied DynamicSearchAdsSetting contains an invalid domain name.
         
        DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME = 9;
        See Also:
        Constant Field Values
      • DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME_VALUE

        public static final int DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME_VALUE
         The supplied DynamicSearchAdsSetting contains a subdomain name.
         
        DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME = 10;
        See Also:
        Constant Field Values
      • DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE_VALUE

        public static final int DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE_VALUE
         The supplied DynamicSearchAdsSetting contains an invalid language code.
         
        DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE = 11;
        See Also:
        Constant Field Values
      • TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN_VALUE

        public static final int TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN_VALUE
         TargetingSettings in search campaigns should not have
         CriterionTypeGroup.PLACEMENT set to targetAll.
         
        TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN = 12;
        See Also:
        Constant Field Values
      • SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN_VALUE

        public static final int SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN_VALUE
         The setting value is not compatible with the campaign type.
         
        SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN = 20;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static SettingErrorEnum.SettingError[] 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 (SettingErrorEnum.SettingError c : SettingErrorEnum.SettingError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SettingErrorEnum.SettingError 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 SettingErrorEnum.SettingError 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 SettingErrorEnum.SettingError 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 SettingErrorEnum.SettingError 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