#[repr(i32)]
pub enum ConversionActionType {
Show 42 variants Unspecified = 0, Unknown = 1, AdCall = 2, ClickToCall = 3, GooglePlayDownload = 4, GooglePlayInAppPurchase = 5, UploadCalls = 6, UploadClicks = 7, Webpage = 8, WebsiteCall = 9, StoreSalesDirectUpload = 10, StoreSales = 11, FirebaseAndroidFirstOpen = 12, FirebaseAndroidInAppPurchase = 13, FirebaseAndroidCustom = 14, FirebaseIosFirstOpen = 15, FirebaseIosInAppPurchase = 16, FirebaseIosCustom = 17, ThirdPartyAppAnalyticsAndroidFirstOpen = 18, ThirdPartyAppAnalyticsAndroidInAppPurchase = 19, ThirdPartyAppAnalyticsAndroidCustom = 20, ThirdPartyAppAnalyticsIosFirstOpen = 21, ThirdPartyAppAnalyticsIosInAppPurchase = 22, ThirdPartyAppAnalyticsIosCustom = 23, AndroidAppPreRegistration = 24, AndroidInstallsAllOtherApps = 25, FloodlightAction = 26, FloodlightTransaction = 27, GoogleHosted = 28, LeadFormSubmit = 29, Salesforce = 30, SearchAds360 = 31, SmartCampaignAdClicksToCall = 32, SmartCampaignMapClicksToCall = 33, SmartCampaignMapDirections = 34, SmartCampaignTrackedCalls = 35, StoreVisits = 36, WebpageCodeless = 37, UniversalAnalyticsGoal = 38, UniversalAnalyticsTransaction = 39, GoogleAnalytics4Custom = 40, GoogleAnalytics4Purchase = 41,
}
Expand description

Possible types of a conversion action.

Variants§

§

Unspecified = 0

Not specified.

§

Unknown = 1

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

§

AdCall = 2

Conversions that occur when a user clicks on an ad’s call extension.

§

ClickToCall = 3

Conversions that occur when a user on a mobile device clicks a phone number.

§

GooglePlayDownload = 4

Conversions that occur when a user downloads a mobile app from the Google Play Store.

§

GooglePlayInAppPurchase = 5

Conversions that occur when a user makes a purchase in an app through Android billing.

§

UploadCalls = 6

Call conversions that are tracked by the advertiser and uploaded.

§

UploadClicks = 7

Conversions that are tracked by the advertiser and uploaded with attributed clicks.

§

Webpage = 8

Conversions that occur on a webpage.

§

WebsiteCall = 9

Conversions that occur when a user calls a dynamically-generated phone number from an advertiser’s website.

§

StoreSalesDirectUpload = 10

Store Sales conversion based on first-party or third-party merchant data uploads. Only customers on the allowlist can use store sales direct upload types.

§

StoreSales = 11

Store Sales conversion based on first-party or third-party merchant data uploads and/or from in-store purchases using cards from payment networks. Only customers on the allowlist can use store sales types. Read only.

§

FirebaseAndroidFirstOpen = 12

Android app first open conversions tracked through Firebase.

§

FirebaseAndroidInAppPurchase = 13

Android app in app purchase conversions tracked through Firebase.

§

FirebaseAndroidCustom = 14

Android app custom conversions tracked through Firebase.

§

FirebaseIosFirstOpen = 15

iOS app first open conversions tracked through Firebase.

§

FirebaseIosInAppPurchase = 16

iOS app in app purchase conversions tracked through Firebase.

§

FirebaseIosCustom = 17

iOS app custom conversions tracked through Firebase.

§

ThirdPartyAppAnalyticsAndroidFirstOpen = 18

Android app first open conversions tracked through Third Party App Analytics.

§

ThirdPartyAppAnalyticsAndroidInAppPurchase = 19

Android app in app purchase conversions tracked through Third Party App Analytics.

§

ThirdPartyAppAnalyticsAndroidCustom = 20

Android app custom conversions tracked through Third Party App Analytics.

§

ThirdPartyAppAnalyticsIosFirstOpen = 21

iOS app first open conversions tracked through Third Party App Analytics.

§

ThirdPartyAppAnalyticsIosInAppPurchase = 22

iOS app in app purchase conversions tracked through Third Party App Analytics.

§

ThirdPartyAppAnalyticsIosCustom = 23

iOS app custom conversions tracked through Third Party App Analytics.

§

AndroidAppPreRegistration = 24

Conversions that occur when a user pre-registers a mobile app from the Google Play Store. Read only.

§

AndroidInstallsAllOtherApps = 25

Conversions that track all Google Play downloads which aren’t tracked by an app-specific type. Read only.

§

FloodlightAction = 26

Floodlight activity that counts the number of times that users have visited a particular webpage after seeing or clicking on one of an advertiser’s ads. Read only.

§

FloodlightTransaction = 27

Floodlight activity that tracks the number of sales made or the number of items purchased. Can also capture the total value of each sale. Read only.

§

GoogleHosted = 28

Conversions that track local actions from Google’s products and services after interacting with an ad. Read only.

§

LeadFormSubmit = 29

Conversions reported when a user submits a lead form. Read only.

§

Salesforce = 30

Conversions that come from Salesforce. Read only.

§

SearchAds360 = 31

Conversions imported from Search Ads 360 Floodlight data. Read only.

§

SmartCampaignAdClicksToCall = 32

Call conversions that occur on Smart campaign Ads without call tracking setup, using Smart campaign custom criteria. Read only.

§

SmartCampaignMapClicksToCall = 33

The user clicks on a call element within Google Maps. Smart campaign only. Read only.

§

SmartCampaignMapDirections = 34

The user requests directions to a business location within Google Maps. Smart campaign only. Read only.

§

SmartCampaignTrackedCalls = 35

Call conversions that occur on Smart campaign Ads with call tracking setup, using Smart campaign custom criteria. Read only.

§

StoreVisits = 36

Conversions that occur when a user visits an advertiser’s retail store. Read only.

§

WebpageCodeless = 37

Conversions created from website events (such as form submissions or page loads), that don’t use individually coded event snippets. Read only.

§

UniversalAnalyticsGoal = 38

Conversions that come from linked Universal Analytics goals.

§

UniversalAnalyticsTransaction = 39

Conversions that come from linked Universal Analytics transactions.

§

GoogleAnalytics4Custom = 40

Conversions that come from linked Google Analytics 4 custom event conversions.

§

GoogleAnalytics4Purchase = 41

Conversions that come from linked Google Analytics 4 purchase conversions.

Implementations§

source§

impl ConversionActionType

source

pub fn is_valid(value: i32) -> bool

Returns true if value is a variant of ConversionActionType.

source

pub fn from_i32(value: i32) -> Option<ConversionActionType>

👎Deprecated: Use the TryFrom<i32> implementation instead

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

source§

impl ConversionActionType

source

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.

source

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 ConversionActionType

source§

fn clone(&self) -> ConversionActionType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ConversionActionType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ConversionActionType

source§

fn default() -> ConversionActionType

Returns the “default value” for a type. Read more
source§

impl From<ConversionActionType> for i32

source§

fn from(value: ConversionActionType) -> i32

Converts to this type from the input type.
source§

impl Hash for ConversionActionType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for ConversionActionType

source§

fn cmp(&self, other: &ConversionActionType) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for ConversionActionType

source§

fn eq(&self, other: &ConversionActionType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for ConversionActionType

source§

fn partial_cmp(&self, other: &ConversionActionType) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl TryFrom<i32> for ConversionActionType

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: i32) -> Result<ConversionActionType, DecodeError>

Performs the conversion.
source§

impl Copy for ConversionActionType

source§

impl Eq for ConversionActionType

source§

impl StructuralPartialEq for ConversionActionType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Comparable<K> for Q
where Q: Ord + ?Sized, K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FromRef<T> for T
where T: Clone,

§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoRequest<T> for T

source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more