pub struct AdTreeAdSet {
pub platform_ad_set_id: Option<String>,
pub ad_set_name: Option<String>,
pub status: Option<AdStatus>,
pub ad_count: Option<i32>,
pub budget: Option<Box<AdTreeAdSetBudget>>,
pub ad_set_budget: Option<Box<AdTreeAdSetAdSetBudget>>,
pub metrics: Option<Box<AdMetrics>>,
pub optimization_goal: Option<String>,
pub bid_strategy: Option<String>,
pub promoted_object: Option<Box<AdTreeAdSetPromotedObject>>,
pub ads: Option<Vec<Ad>>,
}Expand description
AdTreeAdSet : Ad set (or ad group/line item depending on platform) with rolled-up metrics and child ads
Fields§
§platform_ad_set_id: Option<String>§ad_set_name: Option<String>§status: Option<AdStatus>Derived from child ad statuses
ad_count: Option<i32>§budget: Option<Box<AdTreeAdSetBudget>>§ad_set_budget: Option<Box<AdTreeAdSetAdSetBudget>>§metrics: Option<Box<AdMetrics>>§optimization_goal: Option<String>Meta ad set optimization goal (e.g. OFFSITE_CONVERSIONS, VALUE, LEAD_GENERATION)
bid_strategy: Option<String>Bid strategy for this ad set (overrides campaign level when set)
promoted_object: Option<Box<AdTreeAdSetPromotedObject>>§ads: Option<Vec<Ad>>Individual ads within this ad set (capped at 100). Returns a subset of Ad fields from the aggregation (core fields like _id, name, platform, status, budget, metrics, creative, goal are included; targeting and schedule may be absent).
Implementations§
Source§impl AdTreeAdSet
impl AdTreeAdSet
Sourcepub fn new() -> AdTreeAdSet
pub fn new() -> AdTreeAdSet
Ad set (or ad group/line item depending on platform) with rolled-up metrics and child ads
Trait Implementations§
Source§impl Clone for AdTreeAdSet
impl Clone for AdTreeAdSet
Source§fn clone(&self) -> AdTreeAdSet
fn clone(&self) -> AdTreeAdSet
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 AdTreeAdSet
impl Debug for AdTreeAdSet
Source§impl Default for AdTreeAdSet
impl Default for AdTreeAdSet
Source§fn default() -> AdTreeAdSet
fn default() -> AdTreeAdSet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdTreeAdSet
impl<'de> Deserialize<'de> for AdTreeAdSet
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 AdTreeAdSet
impl PartialEq for AdTreeAdSet
Source§fn eq(&self, other: &AdTreeAdSet) -> bool
fn eq(&self, other: &AdTreeAdSet) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AdTreeAdSet
impl Serialize for AdTreeAdSet
impl StructuralPartialEq for AdTreeAdSet
Auto Trait Implementations§
impl Freeze for AdTreeAdSet
impl RefUnwindSafe for AdTreeAdSet
impl Send for AdTreeAdSet
impl Sync for AdTreeAdSet
impl Unpin for AdTreeAdSet
impl UnsafeUnpin for AdTreeAdSet
impl UnwindSafe for AdTreeAdSet
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