pub enum Goal {
Engagement,
Traffic,
Awareness,
VideoViews,
LeadGeneration,
LeadConversion,
Conversions,
AppPromotion,
CatalogSales,
}Expand description
Available goals vary by platform. Meta (Facebook/Instagram) supports all 9 (incl. lead_conversion = website pixel lead optimization and catalog_sales = Advantage+ catalog ads). TikTok supports the 7 non-lead_conversion goals. LinkedIn supports all except app_promotion / lead_conversion. Twitter/X supports engagement, traffic, awareness, video_views, app_promotion. Pinterest and Google Ads support only engagement, traffic, awareness, video_views.
Variants§
Engagement
Traffic
Awareness
VideoViews
LeadGeneration
LeadConversion
Conversions
AppPromotion
CatalogSales
Trait Implementations§
impl Copy for Goal
Source§impl<'de> Deserialize<'de> for Goal
impl<'de> Deserialize<'de> for Goal
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Goal
Source§impl Ord for Goal
impl Ord for Goal
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Goal
impl PartialOrd for Goal
impl StructuralPartialEq for Goal
Auto Trait Implementations§
impl Freeze for Goal
impl RefUnwindSafe for Goal
impl Send for Goal
impl Sync for Goal
impl Unpin for Goal
impl UnsafeUnpin for Goal
impl UnwindSafe for Goal
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
Mutably borrows from an owned value. Read more