pub struct AdSet {
pub id: AdSetId,
pub provider: String,
pub campaign_id: CampaignId,
pub name: String,
pub status: AdSetStatus,
pub targeting: Option<Value>,
pub budget: Option<Budget>,
pub created_at: DateTime<Utc>,
pub updated_at: Option<DateTime<Utc>>,
pub raw: Option<Value>,
}Expand description
A unified ad set representation across all providers.
Fields§
§id: AdSetIdUnique identifier.
provider: StringWhich provider this ad set belongs to.
campaign_id: CampaignIdThe parent campaign identifier.
name: StringAd set name.
status: AdSetStatusCurrent status.
targeting: Option<Value>Targeting configuration, if set.
budget: Option<Budget>Budget configuration, if set.
created_at: DateTime<Utc>When the ad set was created.
updated_at: Option<DateTime<Utc>>When the ad set was last updated.
raw: Option<Value>Original API response for debugging and raw access.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AdSet
impl<'de> Deserialize<'de> for AdSet
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 Formattable for AdSet
impl Formattable for AdSet
Auto Trait Implementations§
impl Freeze for AdSet
impl RefUnwindSafe for AdSet
impl Send for AdSet
impl Sync for AdSet
impl Unpin for AdSet
impl UnsafeUnpin for AdSet
impl UnwindSafe for AdSet
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