pub struct AdPromotedObject {
pub custom_event_type: Option<String>,
pub pixel_id: Option<String>,
pub page_id: Option<String>,
pub application_id: Option<String>,
pub product_set_id: Option<String>,
}Expand description
AdPromotedObject : Meta promoted object containing conversion event details. Structure varies by objective. Only present for Meta ads.
Fields§
§custom_event_type: Option<String>Conversion event type (e.g. PURCHASE, LEAD, COMPLETE_REGISTRATION, ADD_TO_CART)
pixel_id: Option<String>Meta pixel ID
page_id: Option<String>Facebook page ID
application_id: Option<String>Facebook app ID
product_set_id: Option<String>Product catalog set ID
Implementations§
Source§impl AdPromotedObject
impl AdPromotedObject
Sourcepub fn new() -> AdPromotedObject
pub fn new() -> AdPromotedObject
Meta promoted object containing conversion event details. Structure varies by objective. Only present for Meta ads.
Trait Implementations§
Source§impl Clone for AdPromotedObject
impl Clone for AdPromotedObject
Source§fn clone(&self) -> AdPromotedObject
fn clone(&self) -> AdPromotedObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdPromotedObject
impl Debug for AdPromotedObject
Source§impl Default for AdPromotedObject
impl Default for AdPromotedObject
Source§fn default() -> AdPromotedObject
fn default() -> AdPromotedObject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdPromotedObject
impl<'de> Deserialize<'de> for AdPromotedObject
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
Source§impl PartialEq for AdPromotedObject
impl PartialEq for AdPromotedObject
Source§impl Serialize for AdPromotedObject
impl Serialize for AdPromotedObject
impl StructuralPartialEq for AdPromotedObject
Auto Trait Implementations§
impl Freeze for AdPromotedObject
impl RefUnwindSafe for AdPromotedObject
impl Send for AdPromotedObject
impl Sync for AdPromotedObject
impl Unpin for AdPromotedObject
impl UnsafeUnpin for AdPromotedObject
impl UnwindSafe for AdPromotedObject
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