Enum Class ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError
java.lang.Object
java.lang.Enum<ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError>
com.google.ads.googleads.v18.errors.ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError>,Constable
- Enclosing class:
- ConversionValueRuleSetErrorEnum
public static enum ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError
extends Enum<ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible conversion value rule set errors.Protobuf enum
google.ads.googleads.v18.errors.ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhen a mutate request tries to pause a value rule set, the enabled value rules in this set must be paused in the same command, or this error will be thrown.An error that's thrown when a mutate is adding new value rule(s) into a value rule set and the added value rule(s) include conditions that are not specified in the dimensions of the value rule set.Two value rules in this value rule set contain conflicting conditions.Dimension NO_CONDITION can only be used by Store Visits/Store Sales value rule set.If NO_CONDITION is used as a dimension of a value rule set, it must be the only dimension.Dimension ITINERARY can only be used on campaigns with an advertising channel type of PERFORMANCE_MAX or HOTEL.An error that's thrown when a mutate operation is trying to replace/remove some existing elements in the dimensions field.The dimensions field contains duplicate elements.To add a value rule set that applies on Store Visits/Store Sales conversion action categories, the customer must have valid Store Visits/ Store Sales conversion actions.This value rule set is attached to an invalid campaign id.This value rule set includes a value rule that cannot be found, has been permanently removed or belongs to a different customer.When a mutate request tries to pause all the value rules in a value rule set, the value rule set must be paused, or this error will be thrown.The received error code is not known in this version.Enum unspecified.Value rule sets defined on the specified conversion action categories are not supported.This value rule set is attached to a campaign that does not support value rules. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intWhen a mutate request tries to pause a value rule set, the enabled value rules in this set must be paused in the same command, or this error will be thrown.static final intAn error that's thrown when a mutate is adding new value rule(s) into a value rule set and the added value rule(s) include conditions that are not specified in the dimensions of the value rule set.static final intTwo value rules in this value rule set contain conflicting conditions.static final intDimension NO_CONDITION can only be used by Store Visits/Store Sales value rule set.static final intIf NO_CONDITION is used as a dimension of a value rule set, it must be the only dimension.static final intDimension ITINERARY can only be used on campaigns with an advertising channel type of PERFORMANCE_MAX or HOTEL.static final intAn error that's thrown when a mutate operation is trying to replace/remove some existing elements in the dimensions field.static final intThe dimensions field contains duplicate elements.static final intTo add a value rule set that applies on Store Visits/Store Sales conversion action categories, the customer must have valid Store Visits/ Store Sales conversion actions.static final intThis value rule set is attached to an invalid campaign id.static final intThis value rule set includes a value rule that cannot be found, has been permanently removed or belongs to a different customer.static final intWhen a mutate request tries to pause all the value rules in a value rule set, the value rule set must be paused, or this error will be thrown.static final intThe received error code is not known in this version.static final intEnum unspecified.static final intValue rule sets defined on the specified conversion action categories are not supported.static final intThis value rule set is attached to a campaign that does not support value rules. -
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<ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError>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.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; -
CONFLICTING_VALUE_RULE_CONDITIONS
public static final ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError CONFLICTING_VALUE_RULE_CONDITIONSTwo value rules in this value rule set contain conflicting conditions.
CONFLICTING_VALUE_RULE_CONDITIONS = 2; -
INVALID_VALUE_RULE
This value rule set includes a value rule that cannot be found, has been permanently removed or belongs to a different customer.
INVALID_VALUE_RULE = 3; -
DIMENSIONS_UPDATE_ONLY_ALLOW_APPEND
public static final ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError DIMENSIONS_UPDATE_ONLY_ALLOW_APPENDAn error that's thrown when a mutate operation is trying to replace/remove some existing elements in the dimensions field. In other words, ADD op is always fine and UPDATE op is fine if it's only appending new elements into dimensions list.
DIMENSIONS_UPDATE_ONLY_ALLOW_APPEND = 4; -
CONDITION_TYPE_NOT_ALLOWED
public static final ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError CONDITION_TYPE_NOT_ALLOWEDAn error that's thrown when a mutate is adding new value rule(s) into a value rule set and the added value rule(s) include conditions that are not specified in the dimensions of the value rule set.
CONDITION_TYPE_NOT_ALLOWED = 5; -
DUPLICATE_DIMENSIONS
public static final ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError DUPLICATE_DIMENSIONSThe dimensions field contains duplicate elements.
DUPLICATE_DIMENSIONS = 6; -
INVALID_CAMPAIGN_ID
This value rule set is attached to an invalid campaign id. Either a campaign with this campaign id doesn't exist or it belongs to a different customer.
INVALID_CAMPAIGN_ID = 7; -
CANNOT_PAUSE_UNLESS_ALL_VALUE_RULES_ARE_PAUSED
public static final ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError CANNOT_PAUSE_UNLESS_ALL_VALUE_RULES_ARE_PAUSEDWhen a mutate request tries to pause a value rule set, the enabled value rules in this set must be paused in the same command, or this error will be thrown.
CANNOT_PAUSE_UNLESS_ALL_VALUE_RULES_ARE_PAUSED = 8; -
SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSED
public static final ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSEDWhen a mutate request tries to pause all the value rules in a value rule set, the value rule set must be paused, or this error will be thrown.
SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSED = 9; -
VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE
public static final ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPEThis value rule set is attached to a campaign that does not support value rules. Currently, campaign level value rule sets can only be created on Search, or Display campaigns.
VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 10; -
INELIGIBLE_CONVERSION_ACTION_CATEGORIES
public static final ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError INELIGIBLE_CONVERSION_ACTION_CATEGORIESTo add a value rule set that applies on Store Visits/Store Sales conversion action categories, the customer must have valid Store Visits/ Store Sales conversion actions.
INELIGIBLE_CONVERSION_ACTION_CATEGORIES = 11; -
DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS
public static final ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONSIf NO_CONDITION is used as a dimension of a value rule set, it must be the only dimension.
DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS = 12; -
DIMENSION_NO_CONDITION_NOT_ALLOWED
public static final ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError DIMENSION_NO_CONDITION_NOT_ALLOWEDDimension NO_CONDITION can only be used by Store Visits/Store Sales value rule set.
DIMENSION_NO_CONDITION_NOT_ALLOWED = 13; -
UNSUPPORTED_CONVERSION_ACTION_CATEGORIES
public static final ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError UNSUPPORTED_CONVERSION_ACTION_CATEGORIESValue rule sets defined on the specified conversion action categories are not supported. The list of conversion action categories must be an empty list, only STORE_VISIT, or only STORE_SALE.
UNSUPPORTED_CONVERSION_ACTION_CATEGORIES = 14; -
DIMENSION_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE
public static final ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError DIMENSION_NOT_SUPPORTED_FOR_CAMPAIGN_TYPEDimension ITINERARY can only be used on campaigns with an advertising channel type of PERFORMANCE_MAX or HOTEL.
DIMENSION_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 15; -
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:
-
CONFLICTING_VALUE_RULE_CONDITIONS_VALUE
public static final int CONFLICTING_VALUE_RULE_CONDITIONS_VALUETwo value rules in this value rule set contain conflicting conditions.
CONFLICTING_VALUE_RULE_CONDITIONS = 2;- See Also:
-
INVALID_VALUE_RULE_VALUE
public static final int INVALID_VALUE_RULE_VALUEThis value rule set includes a value rule that cannot be found, has been permanently removed or belongs to a different customer.
INVALID_VALUE_RULE = 3;- See Also:
-
DIMENSIONS_UPDATE_ONLY_ALLOW_APPEND_VALUE
public static final int DIMENSIONS_UPDATE_ONLY_ALLOW_APPEND_VALUEAn error that's thrown when a mutate operation is trying to replace/remove some existing elements in the dimensions field. In other words, ADD op is always fine and UPDATE op is fine if it's only appending new elements into dimensions list.
DIMENSIONS_UPDATE_ONLY_ALLOW_APPEND = 4;- See Also:
-
CONDITION_TYPE_NOT_ALLOWED_VALUE
public static final int CONDITION_TYPE_NOT_ALLOWED_VALUEAn error that's thrown when a mutate is adding new value rule(s) into a value rule set and the added value rule(s) include conditions that are not specified in the dimensions of the value rule set.
CONDITION_TYPE_NOT_ALLOWED = 5;- See Also:
-
DUPLICATE_DIMENSIONS_VALUE
public static final int DUPLICATE_DIMENSIONS_VALUEThe dimensions field contains duplicate elements.
DUPLICATE_DIMENSIONS = 6;- See Also:
-
INVALID_CAMPAIGN_ID_VALUE
public static final int INVALID_CAMPAIGN_ID_VALUEThis value rule set is attached to an invalid campaign id. Either a campaign with this campaign id doesn't exist or it belongs to a different customer.
INVALID_CAMPAIGN_ID = 7;- See Also:
-
CANNOT_PAUSE_UNLESS_ALL_VALUE_RULES_ARE_PAUSED_VALUE
public static final int CANNOT_PAUSE_UNLESS_ALL_VALUE_RULES_ARE_PAUSED_VALUEWhen a mutate request tries to pause a value rule set, the enabled value rules in this set must be paused in the same command, or this error will be thrown.
CANNOT_PAUSE_UNLESS_ALL_VALUE_RULES_ARE_PAUSED = 8;- See Also:
-
SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSED_VALUE
public static final int SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSED_VALUEWhen a mutate request tries to pause all the value rules in a value rule set, the value rule set must be paused, or this error will be thrown.
SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSED = 9;- See Also:
-
VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE_VALUE
public static final int VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE_VALUEThis value rule set is attached to a campaign that does not support value rules. Currently, campaign level value rule sets can only be created on Search, or Display campaigns.
VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 10;- See Also:
-
INELIGIBLE_CONVERSION_ACTION_CATEGORIES_VALUE
public static final int INELIGIBLE_CONVERSION_ACTION_CATEGORIES_VALUETo add a value rule set that applies on Store Visits/Store Sales conversion action categories, the customer must have valid Store Visits/ Store Sales conversion actions.
INELIGIBLE_CONVERSION_ACTION_CATEGORIES = 11;- See Also:
-
DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS_VALUE
public static final int DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS_VALUEIf NO_CONDITION is used as a dimension of a value rule set, it must be the only dimension.
DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS = 12;- See Also:
-
DIMENSION_NO_CONDITION_NOT_ALLOWED_VALUE
public static final int DIMENSION_NO_CONDITION_NOT_ALLOWED_VALUEDimension NO_CONDITION can only be used by Store Visits/Store Sales value rule set.
DIMENSION_NO_CONDITION_NOT_ALLOWED = 13;- See Also:
-
UNSUPPORTED_CONVERSION_ACTION_CATEGORIES_VALUE
public static final int UNSUPPORTED_CONVERSION_ACTION_CATEGORIES_VALUEValue rule sets defined on the specified conversion action categories are not supported. The list of conversion action categories must be an empty list, only STORE_VISIT, or only STORE_SALE.
UNSUPPORTED_CONVERSION_ACTION_CATEGORIES = 14;- See Also:
-
DIMENSION_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE_VALUE
public static final int DIMENSION_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE_VALUEDimension ITINERARY can only be used on campaigns with an advertising channel type of PERFORMANCE_MAX or HOTEL.
DIMENSION_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 15;- 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 public static ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError 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 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<ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError> 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 ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError 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
-