Enum google_api_proto::google::ads::googleads::v14::errors::conversion_adjustment_upload_error_enum::ConversionAdjustmentUploadError
source · #[repr(i32)]pub enum ConversionAdjustmentUploadError {
Show 25 variants
Unspecified = 0,
Unknown = 1,
TooRecentConversionAction = 2,
InvalidConversionAction = 3,
ConversionAlreadyRetracted = 4,
ConversionNotFound = 5,
ConversionExpired = 6,
AdjustmentPrecedesConversion = 7,
MoreRecentRestatementFound = 8,
TooRecentConversion = 9,
CannotRestateConversionActionThatAlwaysUsesDefaultConversionValue = 10,
TooManyAdjustmentsInRequest = 11,
TooManyAdjustments = 12,
RestatementAlreadyExists = 13,
DuplicateAdjustmentInRequest = 14,
CustomerNotAcceptedCustomerDataTerms = 15,
ConversionActionNotEligibleForEnhancement = 16,
InvalidUserIdentifier = 17,
UnsupportedUserIdentifier = 18,
GclidDateTimePairAndOrderIdBothSet = 20,
ConversionAlreadyEnhanced = 21,
DuplicateEnhancementInRequest = 22,
CustomerDataPolicyProhibitsEnhancement = 23,
MissingOrderIdForWebpage = 24,
OrderIdContainsPii = 25,
}
Expand description
Enum describing possible conversion adjustment upload errors.
Variants§
Unspecified = 0
Not specified.
Unknown = 1
Used for return value only. Represents value unknown in this version.
TooRecentConversionAction = 2
Can’t import events to a conversion action that was just created. Try importing again in 6 hours.
InvalidConversionAction = 3
Make sure you specify an active conversion action that can be adjusted.
ConversionAlreadyRetracted = 4
The conversion was already retracted. This adjustment was not processed.
ConversionNotFound = 5
The conversion for this conversion action and conversion identifier can’t be found. Make sure your conversion identifiers are associated with the correct conversion action and try again.
ConversionExpired = 6
Adjustment can’t be made to a conversion that occurred more than 54 days ago.
AdjustmentPrecedesConversion = 7
Adjustment has an adjustment_date_time
that occurred before the
associated conversion. Make sure your adjustment_date_time
is correct
and try again.
MoreRecentRestatementFound = 8
More recent adjustment adjustment_date_time
has already been reported
for the associated conversion. Make sure your adjustment
adjustment_date_time
is correct and try again.
TooRecentConversion = 9
Adjustment can’t be recorded because the conversion occurred too recently. Try adjusting a conversion that occurred at least 24 hours ago.
CannotRestateConversionActionThatAlwaysUsesDefaultConversionValue = 10
Can’t make an adjustment to a conversion that is set up to use the default value. Check your conversion action value setting and try again.
TooManyAdjustmentsInRequest = 11
Try uploading fewer than 2001 adjustments in a single API request.
TooManyAdjustments = 12
The conversion has already been adjusted the maximum number of times. Make sure you’re only making necessary adjustment to existing conversion.
RestatementAlreadyExists = 13
The conversion has prior a restatement with the same
adjustment_date_time
. Make sure your adjustment has the correct and
unique adjustment_date_time
and try again.
DuplicateAdjustmentInRequest = 14
Imported adjustment has a duplicate conversion adjustment with same
adjustment_date_time
. Make sure your adjustment has the correct
adjustment_date_time
and try again.
CustomerNotAcceptedCustomerDataTerms = 15
Make sure you agree to the customer data processing terms in conversion settings and try again.
ConversionActionNotEligibleForEnhancement = 16
Can’t use enhanced conversions with the specified conversion action.
InvalidUserIdentifier = 17
Make sure you hash user provided data using SHA-256 and ensure you are normalizing according to the guidelines.
UnsupportedUserIdentifier = 18
Use user provided data such as emails or phone numbers hashed using SHA-256 and try again.
GclidDateTimePairAndOrderIdBothSet = 20
Cannot set both gclid_date_time_pair and order_id. Use only 1 type and try again.
ConversionAlreadyEnhanced = 21
Conversion already has enhancements with the same Order ID and conversion action. Make sure your data is correctly configured and try again.
DuplicateEnhancementInRequest = 22
Multiple enhancements have the same conversion action and Order ID. Make sure your data is correctly configured and try again.
CustomerDataPolicyProhibitsEnhancement = 23
Enhanced conversions can’t be used for this account because of Google customer data policies. Contact your Google representative.
MissingOrderIdForWebpage = 24
Adjustment for website conversion requires Order ID (ie, transaction ID). Make sure your website tags capture Order IDs and you send the same Order IDs with your adjustment.
OrderIdContainsPii = 25
Can’t use adjustment with Order IDs containing personally-identifiable information (PII).
Implementations§
source§impl ConversionAdjustmentUploadError
impl ConversionAdjustmentUploadError
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of ConversionAdjustmentUploadError
.
sourcepub fn from_i32(value: i32) -> Option<ConversionAdjustmentUploadError>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<ConversionAdjustmentUploadError>
Converts an i32
to a ConversionAdjustmentUploadError
, or None
if value
is not a valid variant.
source§impl ConversionAdjustmentUploadError
impl ConversionAdjustmentUploadError
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 ConversionAdjustmentUploadError
impl Clone for ConversionAdjustmentUploadError
source§fn clone(&self) -> ConversionAdjustmentUploadError
fn clone(&self) -> ConversionAdjustmentUploadError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ConversionAdjustmentUploadError
impl Default for ConversionAdjustmentUploadError
source§fn default() -> ConversionAdjustmentUploadError
fn default() -> ConversionAdjustmentUploadError
source§impl From<ConversionAdjustmentUploadError> for i32
impl From<ConversionAdjustmentUploadError> for i32
source§fn from(value: ConversionAdjustmentUploadError) -> i32
fn from(value: ConversionAdjustmentUploadError) -> i32
source§impl Ord for ConversionAdjustmentUploadError
impl Ord for ConversionAdjustmentUploadError
source§fn cmp(&self, other: &ConversionAdjustmentUploadError) -> Ordering
fn cmp(&self, other: &ConversionAdjustmentUploadError) -> 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 ConversionAdjustmentUploadError
impl PartialEq for ConversionAdjustmentUploadError
source§fn eq(&self, other: &ConversionAdjustmentUploadError) -> bool
fn eq(&self, other: &ConversionAdjustmentUploadError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ConversionAdjustmentUploadError
impl PartialOrd for ConversionAdjustmentUploadError
source§fn partial_cmp(
&self,
other: &ConversionAdjustmentUploadError
) -> Option<Ordering>
fn partial_cmp( &self, other: &ConversionAdjustmentUploadError ) -> 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 ConversionAdjustmentUploadError
impl TryFrom<i32> for ConversionAdjustmentUploadError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<ConversionAdjustmentUploadError, DecodeError>
fn try_from(value: i32) -> Result<ConversionAdjustmentUploadError, DecodeError>
impl Copy for ConversionAdjustmentUploadError
impl Eq for ConversionAdjustmentUploadError
impl StructuralPartialEq for ConversionAdjustmentUploadError
Auto Trait Implementations§
impl Freeze for ConversionAdjustmentUploadError
impl RefUnwindSafe for ConversionAdjustmentUploadError
impl Send for ConversionAdjustmentUploadError
impl Sync for ConversionAdjustmentUploadError
impl Unpin for ConversionAdjustmentUploadError
impl UnwindSafe for ConversionAdjustmentUploadError
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