Enum gapi_grpc::google::ads::googleads::v4::enums::attribution_model_enum::AttributionModel[][src]

[]
#[repr(i32)]pub enum AttributionModel {
    Unspecified,
    Unknown,
    External,
    GoogleAdsLastClick,
    GoogleSearchAttributionFirstClick,
    GoogleSearchAttributionLinear,
    GoogleSearchAttributionTimeDecay,
    GoogleSearchAttributionPositionBased,
    GoogleSearchAttributionDataDriven,
}
[]

The attribution model that describes how to distribute credit for a particular conversion across potentially many prior interactions.

Variants

Unspecified
[]

Not specified.

Unknown
[]

Used for return value only. Represents value unknown in this version.

External
[]

Uses external attribution.

GoogleAdsLastClick
[]

Attributes all credit for a conversion to its last click.

GoogleSearchAttributionFirstClick
[]

Attributes all credit for a conversion to its first click using Google Search attribution.

GoogleSearchAttributionLinear
[]

Attributes credit for a conversion equally across all of its clicks using Google Search attribution.

GoogleSearchAttributionTimeDecay
[]

Attributes exponentially more credit for a conversion to its more recent clicks using Google Search attribution (half-life is 1 week).

GoogleSearchAttributionPositionBased
[]

Attributes 40% of the credit for a conversion to its first and last clicks. Remaining 20% is evenly distributed across all other clicks. This uses Google Search attribution.

GoogleSearchAttributionDataDriven
[]

Flexible model that uses machine learning to determine the appropriate distribution of credit among clicks using Google Search attribution.

Implementations

impl AttributionModel[src][]

pub fn is_valid(value: i32) -> bool[src][]

Returns true if value is a variant of AttributionModel.

pub fn from_i32(value: i32) -> Option<AttributionModel>[src][]

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

Trait Implementations

impl Clone for AttributionModel[src][+]

impl Copy for AttributionModel[src]

impl Debug for AttributionModel[src][+]

impl Default for AttributionModel[src][+]

impl Eq for AttributionModel[src]

impl From<AttributionModel> for i32[src][+]

impl Hash for AttributionModel[src][+]

impl Ord for AttributionModel[src][+]

impl PartialEq<AttributionModel> for AttributionModel[src][+]

impl PartialOrd<AttributionModel> for AttributionModel[src][+]

impl StructuralEq for AttributionModel[src]

impl StructuralPartialEq for AttributionModel[src]

Auto Trait Implementations

impl RefUnwindSafe for AttributionModel

impl Send for AttributionModel

impl Sync for AttributionModel

impl Unpin for AttributionModel

impl UnwindSafe for AttributionModel

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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][+]