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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSwitching from observation setting to targeting setting is not allowed for Customer Match lists.At least one feed id should be present.The supplied DynamicSearchAdsSetting contains an invalid domain name.The supplied DynamicSearchAdsSetting contains an invalid language code.The supplied DynamicSearchAdsSetting contains a subdomain name.The campaign setting is not available for this Google Ads account.The setting is not compatible with the campaign.The setting value is not compatible with the campaign type.TargetingSettings in search campaigns should not have CriterionTypeGroup.PLACEMENT set to targetAll.TargetingSetting cannot change any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT, INCOME_RANGE) from true to false.The supplied TargetingSetting contains an invalid CriterionTypeGroup.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).The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSwitching from observation setting to targeting setting is not allowed for Customer Match lists.static final intAt least one feed id should be present.static final intThe supplied DynamicSearchAdsSetting contains an invalid domain name.static final intThe supplied DynamicSearchAdsSetting contains an invalid language code.static final intThe supplied DynamicSearchAdsSetting contains a subdomain name.static final intThe campaign setting is not available for this Google Ads account.static final intThe setting is not compatible with the campaign.static final intThe setting value is not compatible with the campaign type.static final intTargetingSettings in search campaigns should not have CriterionTypeGroup.PLACEMENT set to targetAll.static final intTargetingSetting cannot change any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT, INCOME_RANGE) from true to false.static final intThe supplied TargetingSetting contains an invalid CriterionTypeGroup.static final intTargetingSetting 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).static final intThe received error code is not known in this version.static final intEnum unspecified. -
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<SettingErrorEnum.SettingError>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 SettingErrorEnum.SettingError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0; -
UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1; -
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
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_GROUPThe 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_ALLTargetingSetting 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_GROUPTargetingSetting 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_PRESENTAt 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_NAMEThe 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_NAMEThe 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_CODEThe 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_CAMPAIGNTargetingSettings 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
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_TARGETINGSwitching 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
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEEnum unspecified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe 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_VALUEThe 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_VALUEThe 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_VALUEThe 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_VALUETargetingSetting 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_VALUETargetingSetting 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_VALUEAt 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_VALUEThe 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_VALUEThe 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_VALUEThe 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_VALUETargetingSettings 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_VALUEThe 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_VALUESwitching 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
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<SettingErrorEnum.SettingError> 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 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 nameNullPointerException- if the argument is null
-