Enum gapi_grpc::google::ads::googleads::v4::enums::attribution_model_enum::AttributionModel [−][src]
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
Not specified.
Used for return value only. Represents value unknown in this version.
Uses external attribution.
Attributes all credit for a conversion to its last click.
Attributes all credit for a conversion to its first click using Google Search attribution.
Attributes credit for a conversion equally across all of its clicks using Google Search attribution.
Attributes exponentially more credit for a conversion to its more recent clicks using Google Search attribution (half-life is 1 week).
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.
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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src][+]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
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][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,