Enum Class SettingErrorEnum.SettingError

java.lang.Object
java.lang.Enum<SettingErrorEnum.SettingError>
com.google.ads.googleads.v18.errors.SettingErrorEnum.SettingError
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<SettingErrorEnum.SettingError>, Constable
Enclosing class:
SettingErrorEnum

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

    • UNSPECIFIED

      public static final SettingErrorEnum.SettingError UNSPECIFIED
       Enum unspecified.
       
      UNSPECIFIED = 0;
    • UNKNOWN

      public static final SettingErrorEnum.SettingError UNKNOWN
       The received error code is not known in this version.
       
      UNKNOWN = 1;
    • 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;
    • BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING

      public static final SettingErrorEnum.SettingError BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING
       Switching from observation setting to targeting setting is not allowed
       for Customer Match lists. See
       https://support.google.com/google-ads/answer/6299717.
       
      BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING = 21;
    • UNRECOGNIZED

      public static final SettingErrorEnum.SettingError UNRECOGNIZED
  • Field Details

    • UNSPECIFIED_VALUE

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

      public static final int UNKNOWN_VALUE
       The received error code is not known in this version.
       
      UNKNOWN = 1;
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING_VALUE

      public static final int BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING_VALUE
       Switching from observation setting to targeting setting is not allowed
       for Customer Match lists. See
       https://support.google.com/google-ads/answer/6299717.
       
      BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING = 21;
      See Also:
  • Method Details

    • values

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

      public static SettingErrorEnum.SettingError valueOf(String name)
      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 name
      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 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 name
      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.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<SettingErrorEnum.SettingError> internalGetValueMap()
    • 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 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 name
      NullPointerException - if the argument is null