Enum ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError

    • 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 name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        java.lang.NullPointerException - if the argument is null
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        java.lang.NullPointerException - if the argument is null