Enum ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError
- java.lang.Object
-
- java.lang.Enum<ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError>
-
- com.google.ads.googleads.v14.errors.ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError>
- Enclosing class:
- ConversionValueRuleSetErrorEnum
public static enum ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError extends java.lang.Enum<ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible conversion value rule set errors.
Protobuf enumgoogle.ads.googleads.v14.errors.ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANNOT_PAUSE_UNLESS_ALL_VALUE_RULES_ARE_PAUSED
When 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.CONDITION_TYPE_NOT_ALLOWED
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.CONFLICTING_VALUE_RULE_CONDITIONS
Two value rules in this value rule set contain conflicting conditions.DIMENSION_NO_CONDITION_NOT_ALLOWED
Dimension NO_CONDITION can only be used by Store Visits/Store Sales value rule set.DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS
If NO_CONDITION is used as a dimension of a value rule set, it must be the only dimension.DIMENSIONS_UPDATE_ONLY_ALLOW_APPEND
An error that's thrown when a mutate operation is trying to replace/remove some existing elements in the dimensions field.DUPLICATE_DIMENSIONS
The dimensions field contains duplicate elements.INELIGIBLE_CONVERSION_ACTION_CATEGORIES
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.INVALID_CAMPAIGN_ID
This value rule set is attached to an invalid campaign id.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.SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSED
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.UNKNOWN
The received error code is not known in this version.UNRECOGNIZED
UNSPECIFIED
Enum unspecified.UNSUPPORTED_CONVERSION_ACTION_CATEGORIES
Value rule sets defined on the specified conversion action categories are not supported.VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE
This value rule set is attached to a campaign that does not support value rules.
-
Field Summary
Fields Modifier and Type Field Description static int
CANNOT_PAUSE_UNLESS_ALL_VALUE_RULES_ARE_PAUSED_VALUE
When 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 int
CONDITION_TYPE_NOT_ALLOWED_VALUE
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.static int
CONFLICTING_VALUE_RULE_CONDITIONS_VALUE
Two value rules in this value rule set contain conflicting conditions.static int
DIMENSION_NO_CONDITION_NOT_ALLOWED_VALUE
Dimension NO_CONDITION can only be used by Store Visits/Store Sales value rule set.static int
DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS_VALUE
If NO_CONDITION is used as a dimension of a value rule set, it must be the only dimension.static int
DIMENSIONS_UPDATE_ONLY_ALLOW_APPEND_VALUE
An error that's thrown when a mutate operation is trying to replace/remove some existing elements in the dimensions field.static int
DUPLICATE_DIMENSIONS_VALUE
The dimensions field contains duplicate elements.static int
INELIGIBLE_CONVERSION_ACTION_CATEGORIES_VALUE
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.static int
INVALID_CAMPAIGN_ID_VALUE
This value rule set is attached to an invalid campaign id.static int
INVALID_VALUE_RULE_VALUE
This value rule set includes a value rule that cannot be found, has been permanently removed or belongs to a different customer.static int
SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSED_VALUE
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.static int
UNKNOWN_VALUE
The received error code is not known in this version.static int
UNSPECIFIED_VALUE
Enum unspecified.static int
UNSUPPORTED_CONVERSION_ACTION_CATEGORIES_VALUE
Value rule sets defined on the specified conversion action categories are not supported.static int
VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE_VALUE
This value rule set is attached to a campaign that does not support value rules.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError>
internalGetValueMap()
static ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError
valueOf(int value)
Deprecated.static ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError 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_CONDITIONS
Two value rules in this value rule set contain conflicting conditions.
CONFLICTING_VALUE_RULE_CONDITIONS = 2;
-
INVALID_VALUE_RULE
public static final ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError 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_APPEND
An 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_ALLOWED
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.
CONDITION_TYPE_NOT_ALLOWED = 5;
-
DUPLICATE_DIMENSIONS
public static final ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError DUPLICATE_DIMENSIONS
The dimensions field contains duplicate elements.
DUPLICATE_DIMENSIONS = 6;
-
INVALID_CAMPAIGN_ID
public static final ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError 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_PAUSED
When 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_PAUSED
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.
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_TYPE
This 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_CATEGORIES
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.
INELIGIBLE_CONVERSION_ACTION_CATEGORIES = 11;
-
DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS
public static final ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS
If 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_ALLOWED
Dimension 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_CATEGORIES
Value 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;
-
UNRECOGNIZED
public static final ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError 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
-
CONFLICTING_VALUE_RULE_CONDITIONS_VALUE
public static final int CONFLICTING_VALUE_RULE_CONDITIONS_VALUE
Two value rules in this value rule set contain conflicting conditions.
CONFLICTING_VALUE_RULE_CONDITIONS = 2;
- See Also:
- Constant Field Values
-
INVALID_VALUE_RULE_VALUE
public static final int INVALID_VALUE_RULE_VALUE
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;
- See Also:
- Constant Field Values
-
DIMENSIONS_UPDATE_ONLY_ALLOW_APPEND_VALUE
public static final int DIMENSIONS_UPDATE_ONLY_ALLOW_APPEND_VALUE
An 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:
- Constant Field Values
-
CONDITION_TYPE_NOT_ALLOWED_VALUE
public static final int CONDITION_TYPE_NOT_ALLOWED_VALUE
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.
CONDITION_TYPE_NOT_ALLOWED = 5;
- See Also:
- Constant Field Values
-
DUPLICATE_DIMENSIONS_VALUE
public static final int DUPLICATE_DIMENSIONS_VALUE
The dimensions field contains duplicate elements.
DUPLICATE_DIMENSIONS = 6;
- See Also:
- Constant Field Values
-
INVALID_CAMPAIGN_ID_VALUE
public static final int INVALID_CAMPAIGN_ID_VALUE
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;
- See Also:
- Constant Field Values
-
CANNOT_PAUSE_UNLESS_ALL_VALUE_RULES_ARE_PAUSED_VALUE
public static final int CANNOT_PAUSE_UNLESS_ALL_VALUE_RULES_ARE_PAUSED_VALUE
When 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:
- Constant Field Values
-
SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSED_VALUE
public static final int SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSED_VALUE
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.
SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSED = 9;
- See Also:
- Constant Field Values
-
VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE_VALUE
public static final int VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE_VALUE
This 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:
- Constant Field Values
-
INELIGIBLE_CONVERSION_ACTION_CATEGORIES_VALUE
public static final int INELIGIBLE_CONVERSION_ACTION_CATEGORIES_VALUE
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.
INELIGIBLE_CONVERSION_ACTION_CATEGORIES = 11;
- See Also:
- Constant Field Values
-
DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS_VALUE
public static final int DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS_VALUE
If 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:
- Constant Field Values
-
DIMENSION_NO_CONDITION_NOT_ALLOWED_VALUE
public static final int DIMENSION_NO_CONDITION_NOT_ALLOWED_VALUE
Dimension NO_CONDITION can only be used by Store Visits/Store Sales value rule set.
DIMENSION_NO_CONDITION_NOT_ALLOWED = 13;
- See Also:
- Constant Field Values
-
UNSUPPORTED_CONVERSION_ACTION_CATEGORIES_VALUE
public static final int UNSUPPORTED_CONVERSION_ACTION_CATEGORIES_VALUE
Value 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:
- Constant Field Values
-
-
Method Detail
-
values
public static ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError[] 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 (ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError c : ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError 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 ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError 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<ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in 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 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
-
-