Enum google_api_proto::google::ads::googleads::v14::errors::offline_user_data_job_error_enum::OfflineUserDataJobError
source · #[repr(i32)]pub enum OfflineUserDataJobError {
Show 40 variants
Unspecified = 0,
Unknown = 1,
InvalidUserListId = 3,
InvalidUserListType = 4,
NotOnAllowlistForUserId = 33,
IncompatibleUploadKeyType = 6,
MissingUserIdentifier = 7,
InvalidMobileIdFormat = 8,
TooManyUserIdentifiers = 9,
NotOnAllowlistForStoreSalesDirect = 31,
NotOnAllowlistForUnifiedStoreSales = 32,
InvalidPartnerId = 11,
InvalidEncoding = 12,
InvalidCountryCode = 13,
IncompatibleUserIdentifier = 14,
FutureTransactionTime = 15,
InvalidConversionAction = 16,
MobileIdNotSupported = 17,
InvalidOperationOrder = 18,
ConflictingOperation = 19,
ExternalUpdateIdAlreadyExists = 21,
JobAlreadyStarted = 22,
RemoveNotSupported = 23,
RemoveAllNotSupported = 24,
InvalidSha256Format = 25,
CustomKeyDisabled = 26,
CustomKeyNotPredefined = 27,
CustomKeyNotSet = 29,
CustomerNotAcceptedCustomerDataTerms = 30,
AttributesNotApplicableForCustomerMatchUserList = 34,
LifetimeValueBucketNotInRange = 35,
IncompatibleUserIdentifierForAttributes = 36,
FutureTimeNotAllowed = 37,
LastPurchaseTimeLessThanAcquisitionTime = 38,
CustomerIdentifierNotAllowed = 39,
InvalidItemId = 40,
FirstPurchaseTimeGreaterThanLastPurchaseTime = 42,
InvalidLifecycleStage = 43,
InvalidEventValue = 44,
EventAttributeAllFieldsAreRequired = 45,
}
Expand description
Enum describing possible request errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
InvalidUserListId = 3
The user list ID provided for the job is invalid.
InvalidUserListType = 4
Type of the user list is not applicable for the job.
NotOnAllowlistForUserId = 33
Customer is not allowisted for using user ID in upload data.
IncompatibleUploadKeyType = 6
Upload data is not compatible with the upload key type of the associated user list.
MissingUserIdentifier = 7
The user identifier is missing valid data.
InvalidMobileIdFormat = 8
The mobile ID is malformed.
TooManyUserIdentifiers = 9
Maximum number of user identifiers allowed per request is 100,000 and per operation is 20.
NotOnAllowlistForStoreSalesDirect = 31
Customer is not on the allow-list for store sales direct data.
NotOnAllowlistForUnifiedStoreSales = 32
Customer is not on the allow-list for unified store sales data.
InvalidPartnerId = 11
The partner ID in store sales direct metadata is invalid.
InvalidEncoding = 12
The data in user identifier should not be encoded.
InvalidCountryCode = 13
The country code is invalid.
IncompatibleUserIdentifier = 14
Incompatible user identifier when using third_party_user_id for store sales direct first party data or not using third_party_user_id for store sales third party data.
FutureTransactionTime = 15
A transaction time in the future is not allowed.
InvalidConversionAction = 16
The conversion_action specified in transaction_attributes is used to report conversions to a conversion action configured in Google Ads. This error indicates there is no such conversion action in the account.
MobileIdNotSupported = 17
Mobile ID is not supported for store sales direct data.
InvalidOperationOrder = 18
When a remove-all operation is provided, it has to be the first operation of the operation list.
ConflictingOperation = 19
Mixing creation and removal of offline data in the same job is not allowed.
ExternalUpdateIdAlreadyExists = 21
The external update ID already exists.
JobAlreadyStarted = 22
Once the upload job is started, new operations cannot be added.
RemoveNotSupported = 23
Remove operation is not allowed for store sales direct updates.
RemoveAllNotSupported = 24
Remove-all is not supported for certain offline user data job types.
InvalidSha256Format = 25
The SHA256 encoded value is malformed.
CustomKeyDisabled = 26
The custom key specified is not enabled for the unified store sales upload.
CustomKeyNotPredefined = 27
The custom key specified is not predefined through the Google Ads UI.
CustomKeyNotSet = 29
The custom key specified is not set in the upload.
CustomerNotAcceptedCustomerDataTerms = 30
The customer has not accepted the customer data terms in the conversion settings page.
AttributesNotApplicableForCustomerMatchUserList = 34
User attributes cannot be uploaded into a user list.
LifetimeValueBucketNotInRange = 35
Lifetime bucket value must be a number from 0 to 10; 0 is only accepted for remove operations
IncompatibleUserIdentifierForAttributes = 36
Identifiers not supported for Customer Match attributes. User attributes can only be provided with contact info (email, phone, address) user identifiers.
FutureTimeNotAllowed = 37
A time in the future is not allowed.
LastPurchaseTimeLessThanAcquisitionTime = 38
Last purchase date time cannot be less than acquisition date time.
CustomerIdentifierNotAllowed = 39
Only emails are accepted as user identifiers for shopping loyalty match. {– api.dev/not-precedent: The identifier is not limited to ids, but also include other user info eg. phone numbers.}
InvalidItemId = 40
Provided item ID is invalid.
FirstPurchaseTimeGreaterThanLastPurchaseTime = 42
First purchase date time cannot be greater than the last purchase date time.
InvalidLifecycleStage = 43
Provided lifecycle stage is invalid.
InvalidEventValue = 44
The event value of the Customer Match user attribute is invalid.
EventAttributeAllFieldsAreRequired = 45
All the fields are not present in the EventAttribute of the Customer Match.
Implementations§
source§impl OfflineUserDataJobError
impl OfflineUserDataJobError
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of OfflineUserDataJobError
.
sourcepub fn from_i32(value: i32) -> Option<OfflineUserDataJobError>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<OfflineUserDataJobError>
Converts an i32
to a OfflineUserDataJobError
, or None
if value
is not a valid variant.
source§impl OfflineUserDataJobError
impl OfflineUserDataJobError
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 OfflineUserDataJobError
impl Clone for OfflineUserDataJobError
source§fn clone(&self) -> OfflineUserDataJobError
fn clone(&self) -> OfflineUserDataJobError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OfflineUserDataJobError
impl Debug for OfflineUserDataJobError
source§impl Default for OfflineUserDataJobError
impl Default for OfflineUserDataJobError
source§fn default() -> OfflineUserDataJobError
fn default() -> OfflineUserDataJobError
source§impl From<OfflineUserDataJobError> for i32
impl From<OfflineUserDataJobError> for i32
source§fn from(value: OfflineUserDataJobError) -> i32
fn from(value: OfflineUserDataJobError) -> i32
source§impl Hash for OfflineUserDataJobError
impl Hash for OfflineUserDataJobError
source§impl Ord for OfflineUserDataJobError
impl Ord for OfflineUserDataJobError
source§fn cmp(&self, other: &OfflineUserDataJobError) -> Ordering
fn cmp(&self, other: &OfflineUserDataJobError) -> 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 OfflineUserDataJobError
impl PartialEq for OfflineUserDataJobError
source§fn eq(&self, other: &OfflineUserDataJobError) -> bool
fn eq(&self, other: &OfflineUserDataJobError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OfflineUserDataJobError
impl PartialOrd for OfflineUserDataJobError
source§fn partial_cmp(&self, other: &OfflineUserDataJobError) -> Option<Ordering>
fn partial_cmp(&self, other: &OfflineUserDataJobError) -> 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 OfflineUserDataJobError
impl TryFrom<i32> for OfflineUserDataJobError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<OfflineUserDataJobError, DecodeError>
fn try_from(value: i32) -> Result<OfflineUserDataJobError, DecodeError>
impl Copy for OfflineUserDataJobError
impl Eq for OfflineUserDataJobError
impl StructuralPartialEq for OfflineUserDataJobError
Auto Trait Implementations§
impl Freeze for OfflineUserDataJobError
impl RefUnwindSafe for OfflineUserDataJobError
impl Send for OfflineUserDataJobError
impl Sync for OfflineUserDataJobError
impl Unpin for OfflineUserDataJobError
impl UnwindSafe for OfflineUserDataJobError
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