Enum google_api_proto::google::ads::googleads::v15::enums::conversion_action_category_enum::ConversionActionCategory
source · #[repr(i32)]pub enum ConversionActionCategory {
Show 23 variants
Unspecified = 0,
Unknown = 1,
Default = 2,
PageView = 3,
Purchase = 4,
Signup = 5,
Download = 7,
AddToCart = 8,
BeginCheckout = 9,
SubscribePaid = 10,
PhoneCallLead = 11,
ImportedLead = 12,
SubmitLeadForm = 13,
BookAppointment = 14,
RequestQuote = 15,
GetDirections = 16,
OutboundClick = 17,
Contact = 18,
Engagement = 19,
StoreVisit = 20,
StoreSale = 21,
QualifiedLead = 22,
ConvertedLead = 23,
}
Expand description
The category of conversions that are associated with a ConversionAction.
Variants§
Unspecified = 0
Not specified.
Unknown = 1
Used for return value only. Represents value unknown in this version.
Default = 2
Default category.
PageView = 3
User visiting a page.
Purchase = 4
Purchase, sales, or “order placed” event.
Signup = 5
Signup user action.
Download = 7
Software download action (as for an app).
AddToCart = 8
The addition of items to a shopping cart or bag on an advertiser site.
BeginCheckout = 9
When someone enters the checkout flow on an advertiser site.
SubscribePaid = 10
The start of a paid subscription for a product or service.
PhoneCallLead = 11
A call to indicate interest in an advertiser’s offering.
ImportedLead = 12
A lead conversion imported from an external source into Google Ads.
SubmitLeadForm = 13
A submission of a form on an advertiser site indicating business interest.
BookAppointment = 14
A booking of an appointment with an advertiser’s business.
RequestQuote = 15
A quote or price estimate request.
GetDirections = 16
A search for an advertiser’s business location with intention to visit.
OutboundClick = 17
A click to an advertiser’s partner’s site.
Contact = 18
A call, SMS, email, chat or other type of contact to an advertiser.
Engagement = 19
A website engagement event such as long site time or a Google Analytics (GA) Smart Goal. Intended to be used for GA, Firebase, GA Gold goal imports.
StoreVisit = 20
A visit to a physical store location.
StoreSale = 21
A sale occurring in a physical store.
QualifiedLead = 22
A lead conversion imported from an external source into Google Ads, that has been further qualified by the advertiser (marketing/sales team). In the lead-to-sale journey, advertisers get leads, then act on them by reaching out to the consumer. If the consumer is interested and may end up buying their product, the advertiser marks such leads as “qualified leads”.
ConvertedLead = 23
A lead conversion imported from an external source into Google Ads, that has further completed a chosen stage as defined by the lead gen advertiser.
Implementations§
source§impl ConversionActionCategory
impl ConversionActionCategory
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of ConversionActionCategory
.
sourcepub fn from_i32(value: i32) -> Option<ConversionActionCategory>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<ConversionActionCategory>
Converts an i32
to a ConversionActionCategory
, or None
if value
is not a valid variant.
source§impl ConversionActionCategory
impl ConversionActionCategory
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 ConversionActionCategory
impl Clone for ConversionActionCategory
source§fn clone(&self) -> ConversionActionCategory
fn clone(&self) -> ConversionActionCategory
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConversionActionCategory
impl Debug for ConversionActionCategory
source§impl Default for ConversionActionCategory
impl Default for ConversionActionCategory
source§fn default() -> ConversionActionCategory
fn default() -> ConversionActionCategory
source§impl From<ConversionActionCategory> for i32
impl From<ConversionActionCategory> for i32
source§fn from(value: ConversionActionCategory) -> i32
fn from(value: ConversionActionCategory) -> i32
source§impl Hash for ConversionActionCategory
impl Hash for ConversionActionCategory
source§impl Ord for ConversionActionCategory
impl Ord for ConversionActionCategory
source§fn cmp(&self, other: &ConversionActionCategory) -> Ordering
fn cmp(&self, other: &ConversionActionCategory) -> 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 ConversionActionCategory
impl PartialEq for ConversionActionCategory
source§fn eq(&self, other: &ConversionActionCategory) -> bool
fn eq(&self, other: &ConversionActionCategory) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ConversionActionCategory
impl PartialOrd for ConversionActionCategory
source§fn partial_cmp(&self, other: &ConversionActionCategory) -> Option<Ordering>
fn partial_cmp(&self, other: &ConversionActionCategory) -> 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 ConversionActionCategory
impl TryFrom<i32> for ConversionActionCategory
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<ConversionActionCategory, DecodeError>
fn try_from(value: i32) -> Result<ConversionActionCategory, DecodeError>
impl Copy for ConversionActionCategory
impl Eq for ConversionActionCategory
impl StructuralPartialEq for ConversionActionCategory
Auto Trait Implementations§
impl Freeze for ConversionActionCategory
impl RefUnwindSafe for ConversionActionCategory
impl Send for ConversionActionCategory
impl Sync for ConversionActionCategory
impl Unpin for ConversionActionCategory
impl UnwindSafe for ConversionActionCategory
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