Enum UserListErrorEnum.UserListError

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<UserListErrorEnum.UserListError>
    Enclosing class:
    UserListErrorEnum

    public static enum UserListErrorEnum.UserListError
    extends java.lang.Enum<UserListErrorEnum.UserListError>
    implements com.google.protobuf.ProtocolMessageEnum
     Enum describing possible user list errors.
     
    Protobuf enum google.ads.googleads.v10.errors.UserListErrorEnum.UserListError
    • Enum Constant Detail

      • EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED

        public static final UserListErrorEnum.UserListError EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED
         Creating and updating external remarketing user lists is not supported.
         
        EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED = 2;
      • CONCRETE_TYPE_REQUIRED

        public static final UserListErrorEnum.UserListError CONCRETE_TYPE_REQUIRED
         Concrete type of user list is required.
         
        CONCRETE_TYPE_REQUIRED = 3;
      • CONVERSION_TYPE_ID_REQUIRED

        public static final UserListErrorEnum.UserListError CONVERSION_TYPE_ID_REQUIRED
         Creating/updating user list conversion types requires specifying the
         conversion type Id.
         
        CONVERSION_TYPE_ID_REQUIRED = 4;
      • DUPLICATE_CONVERSION_TYPES

        public static final UserListErrorEnum.UserListError DUPLICATE_CONVERSION_TYPES
         Remarketing user list cannot have duplicate conversion types.
         
        DUPLICATE_CONVERSION_TYPES = 5;
      • INVALID_CONVERSION_TYPE

        public static final UserListErrorEnum.UserListError INVALID_CONVERSION_TYPE
         Conversion type is invalid/unknown.
         
        INVALID_CONVERSION_TYPE = 6;
      • INVALID_DESCRIPTION

        public static final UserListErrorEnum.UserListError INVALID_DESCRIPTION
         User list description is empty or invalid.
         
        INVALID_DESCRIPTION = 7;
      • CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND

        public static final UserListErrorEnum.UserListError CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND
         Embedded logical user lists are not allowed.
         
        CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND = 10;
      • INVALID_USER_LIST_LOGICAL_RULE_OPERAND

        public static final UserListErrorEnum.UserListError INVALID_USER_LIST_LOGICAL_RULE_OPERAND
         User list rule operand is invalid.
         
        INVALID_USER_LIST_LOGICAL_RULE_OPERAND = 11;
      • NAME_ALREADY_USED

        public static final UserListErrorEnum.UserListError NAME_ALREADY_USED
         Name is already being used for another user list for the account.
         
        NAME_ALREADY_USED = 12;
      • NEW_CONVERSION_TYPE_NAME_REQUIRED

        public static final UserListErrorEnum.UserListError NEW_CONVERSION_TYPE_NAME_REQUIRED
         Name is required when creating a new conversion type.
         
        NEW_CONVERSION_TYPE_NAME_REQUIRED = 13;
      • CONVERSION_TYPE_NAME_ALREADY_USED

        public static final UserListErrorEnum.UserListError CONVERSION_TYPE_NAME_ALREADY_USED
         The given conversion type name has been used.
         
        CONVERSION_TYPE_NAME_ALREADY_USED = 14;
      • OWNERSHIP_REQUIRED_FOR_SET

        public static final UserListErrorEnum.UserListError OWNERSHIP_REQUIRED_FOR_SET
         Only an owner account may edit a user list.
         
        OWNERSHIP_REQUIRED_FOR_SET = 15;
      • USER_LIST_MUTATE_NOT_SUPPORTED

        public static final UserListErrorEnum.UserListError USER_LIST_MUTATE_NOT_SUPPORTED
         Creating user list without setting type in oneof user_list field, or
         creating/updating read-only user list types is not allowed.
         
        USER_LIST_MUTATE_NOT_SUPPORTED = 16;
      • CAN_NOT_MUTATE_SENSITIVE_USERLIST

        public static final UserListErrorEnum.UserListError CAN_NOT_MUTATE_SENSITIVE_USERLIST
         A UserList which is privacy sensitive or legal rejected cannot be mutated
         by external users.
         
        CAN_NOT_MUTATE_SENSITIVE_USERLIST = 28;
      • MAX_NUM_RULEBASED_USERLISTS

        public static final UserListErrorEnum.UserListError MAX_NUM_RULEBASED_USERLISTS
         Maximum number of rulebased user lists a customer can have.
         
        MAX_NUM_RULEBASED_USERLISTS = 29;
      • CANNOT_MODIFY_BILLABLE_RECORD_COUNT

        public static final UserListErrorEnum.UserListError CANNOT_MODIFY_BILLABLE_RECORD_COUNT
         BasicUserList's billable record field cannot be modified once it is set.
         
        CANNOT_MODIFY_BILLABLE_RECORD_COUNT = 30;
      • APP_ID_NOT_SET

        public static final UserListErrorEnum.UserListError APP_ID_NOT_SET
         crm_based_user_list.app_id field must be set when upload_key_type is
         MOBILE_ADVERTISING_ID.
         
        APP_ID_NOT_SET = 31;
      • USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST

        public static final UserListErrorEnum.UserListError USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST
         Name of the user list is reserved for system generated lists and cannot
         be used.
         
        USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST = 32;
      • ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA

        public static final UserListErrorEnum.UserListError ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA
         Advertiser needs to be on the allow-list to use remarketing lists created
         from advertiser uploaded data (e.g., Customer Match lists).
         
        ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA = 37;
      • RULE_TYPE_IS_NOT_SUPPORTED

        public static final UserListErrorEnum.UserListError RULE_TYPE_IS_NOT_SUPPORTED
         The provided rule_type is not supported for the user list.
         
        RULE_TYPE_IS_NOT_SUPPORTED = 34;
      • CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND

        public static final UserListErrorEnum.UserListError CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND
         Similar user list cannot be used as a logical user list operand.
         
        CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND = 35;
      • CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS

        public static final UserListErrorEnum.UserListError CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS
         Logical user list should not have a mix of CRM based user list and other
         types of lists in its rules.
         
        CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS = 36;
    • 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
      • EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED_VALUE

        public static final int EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED_VALUE
         Creating and updating external remarketing user lists is not supported.
         
        EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED = 2;
        See Also:
        Constant Field Values
      • CONCRETE_TYPE_REQUIRED_VALUE

        public static final int CONCRETE_TYPE_REQUIRED_VALUE
         Concrete type of user list is required.
         
        CONCRETE_TYPE_REQUIRED = 3;
        See Also:
        Constant Field Values
      • CONVERSION_TYPE_ID_REQUIRED_VALUE

        public static final int CONVERSION_TYPE_ID_REQUIRED_VALUE
         Creating/updating user list conversion types requires specifying the
         conversion type Id.
         
        CONVERSION_TYPE_ID_REQUIRED = 4;
        See Also:
        Constant Field Values
      • DUPLICATE_CONVERSION_TYPES_VALUE

        public static final int DUPLICATE_CONVERSION_TYPES_VALUE
         Remarketing user list cannot have duplicate conversion types.
         
        DUPLICATE_CONVERSION_TYPES = 5;
        See Also:
        Constant Field Values
      • INVALID_CONVERSION_TYPE_VALUE

        public static final int INVALID_CONVERSION_TYPE_VALUE
         Conversion type is invalid/unknown.
         
        INVALID_CONVERSION_TYPE = 6;
        See Also:
        Constant Field Values
      • INVALID_DESCRIPTION_VALUE

        public static final int INVALID_DESCRIPTION_VALUE
         User list description is empty or invalid.
         
        INVALID_DESCRIPTION = 7;
        See Also:
        Constant Field Values
      • INVALID_NAME_VALUE

        public static final int INVALID_NAME_VALUE
         User list name is empty or invalid.
         
        INVALID_NAME = 8;
        See Also:
        Constant Field Values
      • INVALID_TYPE_VALUE

        public static final int INVALID_TYPE_VALUE
         Type of the UserList does not match.
         
        INVALID_TYPE = 9;
        See Also:
        Constant Field Values
      • CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND_VALUE

        public static final int CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND_VALUE
         Embedded logical user lists are not allowed.
         
        CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND = 10;
        See Also:
        Constant Field Values
      • INVALID_USER_LIST_LOGICAL_RULE_OPERAND_VALUE

        public static final int INVALID_USER_LIST_LOGICAL_RULE_OPERAND_VALUE
         User list rule operand is invalid.
         
        INVALID_USER_LIST_LOGICAL_RULE_OPERAND = 11;
        See Also:
        Constant Field Values
      • NAME_ALREADY_USED_VALUE

        public static final int NAME_ALREADY_USED_VALUE
         Name is already being used for another user list for the account.
         
        NAME_ALREADY_USED = 12;
        See Also:
        Constant Field Values
      • NEW_CONVERSION_TYPE_NAME_REQUIRED_VALUE

        public static final int NEW_CONVERSION_TYPE_NAME_REQUIRED_VALUE
         Name is required when creating a new conversion type.
         
        NEW_CONVERSION_TYPE_NAME_REQUIRED = 13;
        See Also:
        Constant Field Values
      • CONVERSION_TYPE_NAME_ALREADY_USED_VALUE

        public static final int CONVERSION_TYPE_NAME_ALREADY_USED_VALUE
         The given conversion type name has been used.
         
        CONVERSION_TYPE_NAME_ALREADY_USED = 14;
        See Also:
        Constant Field Values
      • OWNERSHIP_REQUIRED_FOR_SET_VALUE

        public static final int OWNERSHIP_REQUIRED_FOR_SET_VALUE
         Only an owner account may edit a user list.
         
        OWNERSHIP_REQUIRED_FOR_SET = 15;
        See Also:
        Constant Field Values
      • USER_LIST_MUTATE_NOT_SUPPORTED_VALUE

        public static final int USER_LIST_MUTATE_NOT_SUPPORTED_VALUE
         Creating user list without setting type in oneof user_list field, or
         creating/updating read-only user list types is not allowed.
         
        USER_LIST_MUTATE_NOT_SUPPORTED = 16;
        See Also:
        Constant Field Values
      • INVALID_RULE_VALUE

        public static final int INVALID_RULE_VALUE
         Rule is invalid.
         
        INVALID_RULE = 17;
        See Also:
        Constant Field Values
      • INVALID_DATE_RANGE_VALUE

        public static final int INVALID_DATE_RANGE_VALUE
         The specified date range is empty.
         
        INVALID_DATE_RANGE = 27;
        See Also:
        Constant Field Values
      • CAN_NOT_MUTATE_SENSITIVE_USERLIST_VALUE

        public static final int CAN_NOT_MUTATE_SENSITIVE_USERLIST_VALUE
         A UserList which is privacy sensitive or legal rejected cannot be mutated
         by external users.
         
        CAN_NOT_MUTATE_SENSITIVE_USERLIST = 28;
        See Also:
        Constant Field Values
      • MAX_NUM_RULEBASED_USERLISTS_VALUE

        public static final int MAX_NUM_RULEBASED_USERLISTS_VALUE
         Maximum number of rulebased user lists a customer can have.
         
        MAX_NUM_RULEBASED_USERLISTS = 29;
        See Also:
        Constant Field Values
      • CANNOT_MODIFY_BILLABLE_RECORD_COUNT_VALUE

        public static final int CANNOT_MODIFY_BILLABLE_RECORD_COUNT_VALUE
         BasicUserList's billable record field cannot be modified once it is set.
         
        CANNOT_MODIFY_BILLABLE_RECORD_COUNT = 30;
        See Also:
        Constant Field Values
      • APP_ID_NOT_SET_VALUE

        public static final int APP_ID_NOT_SET_VALUE
         crm_based_user_list.app_id field must be set when upload_key_type is
         MOBILE_ADVERTISING_ID.
         
        APP_ID_NOT_SET = 31;
        See Also:
        Constant Field Values
      • USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST_VALUE

        public static final int USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST_VALUE
         Name of the user list is reserved for system generated lists and cannot
         be used.
         
        USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST = 32;
        See Also:
        Constant Field Values
      • ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA_VALUE

        public static final int ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA_VALUE
         Advertiser needs to be on the allow-list to use remarketing lists created
         from advertiser uploaded data (e.g., Customer Match lists).
         
        ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA = 37;
        See Also:
        Constant Field Values
      • RULE_TYPE_IS_NOT_SUPPORTED_VALUE

        public static final int RULE_TYPE_IS_NOT_SUPPORTED_VALUE
         The provided rule_type is not supported for the user list.
         
        RULE_TYPE_IS_NOT_SUPPORTED = 34;
        See Also:
        Constant Field Values
      • CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND_VALUE

        public static final int CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND_VALUE
         Similar user list cannot be used as a logical user list operand.
         
        CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND = 35;
        See Also:
        Constant Field Values
      • CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS_VALUE

        public static final int CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS_VALUE
         Logical user list should not have a mix of CRM based user list and other
         types of lists in its rules.
         
        CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS = 36;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static UserListErrorEnum.UserListError[] 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 (UserListErrorEnum.UserListError c : UserListErrorEnum.UserListError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UserListErrorEnum.UserListError 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 UserListErrorEnum.UserListError 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
      • forNumber

        public static UserListErrorEnum.UserListError forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • 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 UserListErrorEnum.UserListError 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