Enum SettingErrorEnum.SettingError
- java.lang.Object
-
- java.lang.Enum<SettingErrorEnum.SettingError>
-
- com.google.ads.googleads.v10.errors.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 enumgoogle.ads.googleads.v10.errors.SettingErrorEnum.SettingError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENTAt least one feed id should be present.DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAMEThe supplied DynamicSearchAdsSetting contains an invalid domain name.DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODEThe supplied DynamicSearchAdsSetting contains an invalid language code.DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAMEThe supplied DynamicSearchAdsSetting contains a subdomain name.SETTING_TYPE_IS_NOT_AVAILABLEThe campaign setting is not available for this Google Ads account.SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGNThe setting is not compatible with the campaign.SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGNThe setting value is not compatible with the campaign type.TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGNTargetingSettings in search campaigns should not have CriterionTypeGroup.PLACEMENT set to targetAll.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_CONTAINS_INVALID_CRITERION_TYPE_GROUPThe supplied TargetingSetting contains an invalid CriterionTypeGroup.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).UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intDYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT_VALUEAt least one feed id should be present.static intDYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME_VALUEThe supplied DynamicSearchAdsSetting contains an invalid domain name.static intDYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE_VALUEThe supplied DynamicSearchAdsSetting contains an invalid language code.static intDYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME_VALUEThe supplied DynamicSearchAdsSetting contains a subdomain name.static intSETTING_TYPE_IS_NOT_AVAILABLE_VALUEThe campaign setting is not available for this Google Ads account.static intSETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN_VALUEThe setting is not compatible with the campaign.static intSETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN_VALUEThe setting value is not compatible with the campaign type.static intTARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN_VALUETargetingSettings in search campaigns should not have CriterionTypeGroup.PLACEMENT set to targetAll.static intTARGETING_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.static intTARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP_VALUEThe supplied TargetingSetting contains an invalid CriterionTypeGroup.static intTARGETING_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).static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SettingErrorEnum.SettingErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<SettingErrorEnum.SettingError>internalGetValueMap()static SettingErrorEnum.SettingErrorvalueOf(int value)Deprecated.static SettingErrorEnum.SettingErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static SettingErrorEnum.SettingErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SettingErrorEnum.SettingError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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;
-
UNRECOGNIZED
public static final SettingErrorEnum.SettingError UNRECOGNIZED
-
-
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 namejava.lang.NullPointerException- 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 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 namejava.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.
-
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 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 namejava.lang.NullPointerException- if the argument is null
-
-