#[repr(i32)]
pub enum ConversionAdjustmentUploadError {
Show 27 variants Unspecified = 0, Unknown = 1, TooRecentConversionAction = 2, 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, InvalidJobId = 26, NoConversionActionFound = 27, InvalidConversionActionType = 28,
}
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.

§

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).

§

InvalidJobId = 26

The provided job id in the request is not within the allowed range. A job ID must be a positive integer in the range [1, 2^31).

§

NoConversionActionFound = 27

The conversion action specified in the adjustment request cannot be found. Make sure it’s available in this account.

§

InvalidConversionActionType = 28

The type of the conversion action specified in the adjustment request isn’t supported for uploading adjustments. A conversion adjustment of type RETRACTION or RESTATEMENT is only permitted for conversion actions of type SALESFORCE, UPLOAD or WEBPAGE. A conversion adjustment of type ENHANCEMENT is only permitted for conversion actions of type WEBPAGE.

Implementations§

source§

impl ConversionAdjustmentUploadError

source

pub fn is_valid(value: i32) -> bool

Returns true if value is a variant of ConversionAdjustmentUploadError.

source

pub fn from_i32(value: i32) -> Option<ConversionAdjustmentUploadError>

👎Deprecated: Use the TryFrom<i32> implementation instead

Converts an i32 to a ConversionAdjustmentUploadError, or None if value is not a valid variant.

source§

impl ConversionAdjustmentUploadError

source

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.

source

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

source§

fn clone(&self) -> ConversionAdjustmentUploadError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ConversionAdjustmentUploadError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ConversionAdjustmentUploadError

source§

fn default() -> ConversionAdjustmentUploadError

Returns the “default value” for a type. Read more
source§

impl From<ConversionAdjustmentUploadError> for i32

source§

fn from(value: ConversionAdjustmentUploadError) -> i32

Converts to this type from the input type.
source§

impl Hash for ConversionAdjustmentUploadError

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for ConversionAdjustmentUploadError

source§

fn cmp(&self, other: &ConversionAdjustmentUploadError) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for ConversionAdjustmentUploadError

source§

fn eq(&self, other: &ConversionAdjustmentUploadError) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for ConversionAdjustmentUploadError

source§

fn partial_cmp( &self, other: &ConversionAdjustmentUploadError ) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl TryFrom<i32> for ConversionAdjustmentUploadError

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: i32) -> Result<ConversionAdjustmentUploadError, DecodeError>

Performs the conversion.
source§

impl Copy for ConversionAdjustmentUploadError

source§

impl Eq for ConversionAdjustmentUploadError

source§

impl StructuralPartialEq for ConversionAdjustmentUploadError

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Comparable<K> for Q
where Q: Ord + ?Sized, K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FromRef<T> for T
where T: Clone,

§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoRequest<T> for T

source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more