pub struct InsertionOrderBudgetSegment {
pub budget_amount_micros: Option<i64>,
pub campaign_budget_id: Option<i64>,
pub date_range: Option<DateRange>,
pub description: Option<String>,
}Expand description
Settings that control the budget of a single budget segment.
This type is not used in any activity, and only used as part of another schema.
Fields§
§budget_amount_micros: Option<i64>Required. The budget amount the insertion order will spend for the given date_range. The amount is in micros. Must be greater than 0. For example, 500000000 represents 500 standard units of the currency.
campaign_budget_id: Option<i64>Optional. The budget_id of the campaign budget that this insertion order budget segment is a part of.
date_range: Option<DateRange>Required. The start and end date settings of the budget segment. They are resolved relative to the parent advertiser’s time zone. * When creating a new budget segment, both start_date and end_date must be in the future. * An existing budget segment with a start_date in the past has a mutable end_date but an immutable start_date. * end_date must be the start_date or later, both before the year 2037.
description: Option<String>Optional. The budget segment description. It can be used to enter Purchase Order information for each budget segment and have that information printed on the invoices. Must be UTF-8 encoded.
Trait Implementations§
Source§impl Clone for InsertionOrderBudgetSegment
impl Clone for InsertionOrderBudgetSegment
Source§fn clone(&self) -> InsertionOrderBudgetSegment
fn clone(&self) -> InsertionOrderBudgetSegment
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more