Enum ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError
- java.lang.Object
-
- java.lang.Enum<ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError>
-
- com.google.ads.googleads.v10.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.v10.errors.ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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.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.CONFLICTING_VALUE_RULE_CONDITIONSTwo value rules in this value rule set contain conflicting conditions.DIMENSION_NO_CONDITION_NOT_ALLOWEDDimension NO_CONDITION can only be used by Store Visits/Store Sales value rule set.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.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.DUPLICATE_DIMENSIONSThe dimensions field contains duplicate elements.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.INVALID_CAMPAIGN_IDThis value rule set is attached to an invalid campaign id.INVALID_VALUE_RULEThis 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_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.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPEThis value rule set is attached to a campaign that does not support value rules.
-
Field Summary
Fields Modifier and Type Field Description static intCANNOT_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.static intCONDITION_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.static intCONFLICTING_VALUE_RULE_CONDITIONS_VALUETwo value rules in this value rule set contain conflicting conditions.static intDIMENSION_NO_CONDITION_NOT_ALLOWED_VALUEDimension NO_CONDITION can only be used by Store Visits/Store Sales value rule set.static intDIMENSION_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.static intDIMENSIONS_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.static intDUPLICATE_DIMENSIONS_VALUEThe dimensions field contains duplicate elements.static intINELIGIBLE_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.static intINVALID_CAMPAIGN_ID_VALUEThis value rule set is attached to an invalid campaign id.static intINVALID_VALUE_RULE_VALUEThis value rule set includes a value rule that cannot be found, has been permanently removed or belongs to a different customer.static intSHOULD_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.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.static intVALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE_VALUEThis 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.ConversionValueRuleSetErrorforNumber(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<ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError>internalGetValueMap()static ConversionValueRuleSetErrorEnum.ConversionValueRuleSetErrorvalueOf(int value)Deprecated.static ConversionValueRuleSetErrorEnum.ConversionValueRuleSetErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ConversionValueRuleSetErrorEnum.ConversionValueRuleSetErrorvalueOf(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;
-
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
-
-
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:
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 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:
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 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
-
-