pub struct CampaignFlight {
pub planned_dates: Option<DateRange>,
pub planned_spend_amount_micros: Option<i64>,
}
Expand description
Settings that track the planned spend and duration of a campaign.
This type is not used in any activity, and only used as part of another schema.
Fields§
§planned_dates: Option<DateRange>
Required. The dates that the campaign is expected to run. They are resolved relative to the parent advertiser’s time zone. * The dates specified here will not affect serving. They are used to generate alerts and warnings. For example, if the flight date of any child insertion order is outside the range of these dates, the user interface will show a warning. * start_date
is required and must be the current date or later. * end_date
is optional. If specified, it must be the start_date
or later. * Any specified date must be before the year 2037.
planned_spend_amount_micros: Option<i64>
The amount the campaign is expected to spend for its given planned_dates. This will not limit serving, but will be used for tracking spend in the DV360 UI. The amount is in micros. Must be greater than or equal to 0. For example, 500000000 represents 500 standard units of the currency.
Trait Implementations§
Source§impl Clone for CampaignFlight
impl Clone for CampaignFlight
Source§fn clone(&self) -> CampaignFlight
fn clone(&self) -> CampaignFlight
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CampaignFlight
impl Debug for CampaignFlight
Source§impl Default for CampaignFlight
impl Default for CampaignFlight
Source§fn default() -> CampaignFlight
fn default() -> CampaignFlight
Source§impl<'de> Deserialize<'de> for CampaignFlight
impl<'de> Deserialize<'de> for CampaignFlight
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>,
Source§impl Serialize for CampaignFlight
impl Serialize for CampaignFlight
impl Part for CampaignFlight
Auto Trait Implementations§
impl Freeze for CampaignFlight
impl RefUnwindSafe for CampaignFlight
impl Send for CampaignFlight
impl Sync for CampaignFlight
impl Unpin for CampaignFlight
impl UnwindSafe for CampaignFlight
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more