Struct gapi_grpc::google::ads::googleads::v7::services::ConversionAdjustment[][src]

pub struct ConversionAdjustment {
    pub conversion_action: String,
    pub adjustment_date_time: String,
    pub adjustment_type: i32,
    pub restatement_value: Option<RestatementValue>,
    pub conversion_identifier: Option<ConversionIdentifier>,
}

A conversion adjustment.

Fields

conversion_action: String

Resource name of the conversion action associated with this conversion adjustment. Note: Although this resource name consists of a customer id and a conversion action id, validation will ignore the customer id and use the conversion action id as the sole identifier of the conversion action.

adjustment_date_time: String

The date time at which the adjustment occurred. Must be after the conversion_date_time. The timezone must be specified. The format is “yyyy-mm-dd hh:mm:ss+|-hh:mm”, e.g. “2019-01-01 12:32:45-08:00”.

adjustment_type: i32

The adjustment type.

restatement_value: Option<RestatementValue>

Information needed to restate the conversion’s value. Required for restatements. Should not be supplied for retractions. An error will be returned if provided for a retraction. NOTE: If you want to upload a second restatement with a different adjusted value, it must have a new, more recent, adjustment occurrence time. Otherwise, it will be treated as a duplicate of the previous restatement and ignored.

conversion_identifier: Option<ConversionIdentifier>

Identifies the conversion to be adjusted.

Implementations

impl ConversionAdjustment[src]

pub fn adjustment_type(&self) -> ConversionAdjustmentType[src]

Returns the enum value of adjustment_type, or the default if the field is set to an invalid enum value.

pub fn set_adjustment_type(&mut self, value: ConversionAdjustmentType)[src]

Sets adjustment_type to the provided enum value.

Trait Implementations

impl Clone for ConversionAdjustment[src]

impl Debug for ConversionAdjustment[src]

impl Default for ConversionAdjustment[src]

impl Message for ConversionAdjustment[src]

impl PartialEq<ConversionAdjustment> for ConversionAdjustment[src]

impl StructuralPartialEq for ConversionAdjustment[src]

Auto Trait Implementations

impl RefUnwindSafe for ConversionAdjustment

impl Send for ConversionAdjustment

impl Sync for ConversionAdjustment

impl Unpin for ConversionAdjustment

impl UnwindSafe for ConversionAdjustment

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]