Enum google_api_proto::google::ads::googleads::v16::enums::conversion_origin_enum::ConversionOrigin
source · #[repr(i32)]pub enum ConversionOrigin {
Unspecified = 0,
Unknown = 1,
Website = 2,
GoogleHosted = 3,
App = 4,
CallFromAds = 5,
Store = 6,
YoutubeHosted = 7,
}
Expand description
The possible places where a conversion can occur.
Variants§
Unspecified = 0
The conversion origin has not been specified.
Unknown = 1
The conversion origin is not known in this version.
Website = 2
Conversion that occurs when a user visits a website or takes an action there after viewing an ad.
GoogleHosted = 3
Conversions reported by an offline pipeline which collects local actions from Google-hosted pages (for example, Google Maps, Google Place Page, etc) and attributes them to relevant ad events.
App = 4
Conversion that occurs when a user performs an action through any app platforms.
CallFromAds = 5
Conversion that occurs when a user makes a call from ads.
Store = 6
Conversion that occurs when a user visits or makes a purchase at a physical store.
YoutubeHosted = 7
Conversion that occurs on YouTube.
Implementations§
source§impl ConversionOrigin
impl ConversionOrigin
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 ConversionOrigin
impl Clone for ConversionOrigin
source§fn clone(&self) -> ConversionOrigin
fn clone(&self) -> ConversionOrigin
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConversionOrigin
impl Debug for ConversionOrigin
source§impl Default for ConversionOrigin
impl Default for ConversionOrigin
source§fn default() -> ConversionOrigin
fn default() -> ConversionOrigin
source§impl From<ConversionOrigin> for i32
impl From<ConversionOrigin> for i32
source§fn from(value: ConversionOrigin) -> i32
fn from(value: ConversionOrigin) -> i32
source§impl Hash for ConversionOrigin
impl Hash for ConversionOrigin
source§impl Ord for ConversionOrigin
impl Ord for ConversionOrigin
source§fn cmp(&self, other: &ConversionOrigin) -> Ordering
fn cmp(&self, other: &ConversionOrigin) -> 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 ConversionOrigin
impl PartialEq for ConversionOrigin
source§fn eq(&self, other: &ConversionOrigin) -> bool
fn eq(&self, other: &ConversionOrigin) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ConversionOrigin
impl PartialOrd for ConversionOrigin
source§fn partial_cmp(&self, other: &ConversionOrigin) -> Option<Ordering>
fn partial_cmp(&self, other: &ConversionOrigin) -> 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 ConversionOrigin
impl TryFrom<i32> for ConversionOrigin
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<ConversionOrigin, UnknownEnumValue>
fn try_from(value: i32) -> Result<ConversionOrigin, UnknownEnumValue>
impl Copy for ConversionOrigin
impl Eq for ConversionOrigin
impl StructuralPartialEq for ConversionOrigin
Auto Trait Implementations§
impl Freeze for ConversionOrigin
impl RefUnwindSafe for ConversionOrigin
impl Send for ConversionOrigin
impl Sync for ConversionOrigin
impl Unpin for ConversionOrigin
impl UnwindSafe for ConversionOrigin
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