Enum google_api_proto::google::ads::googleads::v14::errors::user_list_error_enum::UserListError
source · #[repr(i32)]pub enum UserListError {
Show 31 variants
Unspecified = 0,
Unknown = 1,
ExternalRemarketingUserListMutateNotSupported = 2,
ConcreteTypeRequired = 3,
ConversionTypeIdRequired = 4,
DuplicateConversionTypes = 5,
InvalidConversionType = 6,
InvalidDescription = 7,
InvalidName = 8,
InvalidType = 9,
CanNotAddLogicalListAsLogicalListOperand = 10,
InvalidUserListLogicalRuleOperand = 11,
NameAlreadyUsed = 12,
NewConversionTypeNameRequired = 13,
ConversionTypeNameAlreadyUsed = 14,
OwnershipRequiredForSet = 15,
UserListMutateNotSupported = 16,
InvalidRule = 17,
InvalidDateRange = 27,
CanNotMutateSensitiveUserlist = 28,
MaxNumRulebasedUserlists = 29,
CannotModifyBillableRecordCount = 30,
AppIdNotSet = 31,
UserlistNameIsReservedForSystemList = 32,
AdvertiserNotOnAllowlistForUsingUploadedData = 37,
RuleTypeIsNotSupported = 34,
CanNotAddASimilarUserlistAsLogicalListOperand = 35,
CanNotMixCrmBasedInLogicalListWithOtherLists = 36,
AppIdNotAllowed = 39,
CannotMutateSystemList = 40,
MobileAppIsSensitive = 41,
}
Expand description
Enum describing possible user list errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
ExternalRemarketingUserListMutateNotSupported = 2
Creating and updating external remarketing user lists is not supported.
ConcreteTypeRequired = 3
Concrete type of user list is required.
ConversionTypeIdRequired = 4
Creating/updating user list conversion types requires specifying the conversion type Id.
DuplicateConversionTypes = 5
Remarketing user list cannot have duplicate conversion types.
InvalidConversionType = 6
Conversion type is invalid/unknown.
InvalidDescription = 7
User list description is empty or invalid.
InvalidName = 8
User list name is empty or invalid.
InvalidType = 9
Type of the UserList does not match.
CanNotAddLogicalListAsLogicalListOperand = 10
Embedded logical user lists are not allowed.
InvalidUserListLogicalRuleOperand = 11
User list rule operand is invalid.
NameAlreadyUsed = 12
Name is already being used for another user list for the account.
NewConversionTypeNameRequired = 13
Name is required when creating a new conversion type.
ConversionTypeNameAlreadyUsed = 14
The given conversion type name has been used.
OwnershipRequiredForSet = 15
Only an owner account may edit a user list.
UserListMutateNotSupported = 16
Creating user list without setting type in oneof user_list field, or creating/updating read-only user list types is not allowed.
InvalidRule = 17
Rule is invalid.
InvalidDateRange = 27
The specified date range is empty.
CanNotMutateSensitiveUserlist = 28
A UserList which is privacy sensitive or legal rejected cannot be mutated by external users.
MaxNumRulebasedUserlists = 29
Maximum number of rulebased user lists a customer can have.
CannotModifyBillableRecordCount = 30
BasicUserList’s billable record field cannot be modified once it is set.
AppIdNotSet = 31
crm_based_user_list.app_id field must be set when upload_key_type is MOBILE_ADVERTISING_ID.
UserlistNameIsReservedForSystemList = 32
Name of the user list is reserved for system generated lists and cannot be used.
AdvertiserNotOnAllowlistForUsingUploadedData = 37
Advertiser needs to be on the allow-list to use remarketing lists created from advertiser uploaded data (for example, Customer Match lists).
RuleTypeIsNotSupported = 34
The provided rule_type is not supported for the user list.
CanNotAddASimilarUserlistAsLogicalListOperand = 35
Similar user list cannot be used as a logical user list operand.
CanNotMixCrmBasedInLogicalListWithOtherLists = 36
Logical user list should not have a mix of CRM based user list and other types of lists in its rules.
AppIdNotAllowed = 39
crm_based_user_list.app_id field can only be set when upload_key_type is MOBILE_ADVERTISING_ID.
CannotMutateSystemList = 40
Google system generated user lists cannot be mutated.
MobileAppIsSensitive = 41
The mobile app associated with the remarketing list is sensitive.
Implementations§
source§impl UserListError
impl UserListError
source§impl UserListError
impl UserListError
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for UserListError
impl Clone for UserListError
source§fn clone(&self) -> UserListError
fn clone(&self) -> UserListError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserListError
impl Debug for UserListError
source§impl Default for UserListError
impl Default for UserListError
source§fn default() -> UserListError
fn default() -> UserListError
source§impl From<UserListError> for i32
impl From<UserListError> for i32
source§fn from(value: UserListError) -> i32
fn from(value: UserListError) -> i32
source§impl Hash for UserListError
impl Hash for UserListError
source§impl Ord for UserListError
impl Ord for UserListError
source§fn cmp(&self, other: &UserListError) -> Ordering
fn cmp(&self, other: &UserListError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for UserListError
impl PartialEq for UserListError
source§fn eq(&self, other: &UserListError) -> bool
fn eq(&self, other: &UserListError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UserListError
impl PartialOrd for UserListError
source§fn partial_cmp(&self, other: &UserListError) -> Option<Ordering>
fn partial_cmp(&self, other: &UserListError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for UserListError
impl TryFrom<i32> for UserListError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<UserListError, DecodeError>
fn try_from(value: i32) -> Result<UserListError, DecodeError>
impl Copy for UserListError
impl Eq for UserListError
impl StructuralPartialEq for UserListError
Auto Trait Implementations§
impl Freeze for UserListError
impl RefUnwindSafe for UserListError
impl Send for UserListError
impl Sync for UserListError
impl Unpin for UserListError
impl UnwindSafe for UserListError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request