Struct google_displayvideo1::api::InsertionOrder
source · pub struct InsertionOrder {Show 17 fields
pub advertiser_id: Option<i64>,
pub bid_strategy: Option<BiddingStrategy>,
pub billable_outcome: Option<String>,
pub budget: Option<InsertionOrderBudget>,
pub campaign_id: Option<i64>,
pub display_name: Option<String>,
pub entity_status: Option<String>,
pub frequency_cap: Option<FrequencyCap>,
pub insertion_order_id: Option<i64>,
pub insertion_order_type: Option<String>,
pub integration_details: Option<IntegrationDetails>,
pub name: Option<String>,
pub pacing: Option<Pacing>,
pub partner_costs: Option<Vec<PartnerCost>>,
pub performance_goal: Option<PerformanceGoal>,
pub reservation_type: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
A single insertion order.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- insertion orders create advertisers (request|response)
- insertion orders get advertisers (response)
- insertion orders patch advertisers (request|response)
Fields§
§advertiser_id: Option<i64>
Output only. The unique ID of the advertiser the insertion order belongs to.
bid_strategy: Option<BiddingStrategy>
The bidding strategy of the insertion order. By default, fixed_bid is set.
billable_outcome: Option<String>
Immutable. The billable outcome of the insertion order. Outcome based buying is deprecated. BILLABLE_OUTCOME_PAY_PER_IMPRESSION
is the only valid value.
budget: Option<InsertionOrderBudget>
Required. The budget allocation settings of the insertion order.
campaign_id: Option<i64>
Required. Immutable. The unique ID of the campaign that the insertion order belongs to.
display_name: Option<String>
Required. The display name of the insertion order. Must be UTF-8 encoded with a maximum size of 240 bytes.
entity_status: Option<String>
Required. Controls whether or not the insertion order can spend its budget and bid on inventory. * For CreateInsertionOrder method, only ENTITY_STATUS_DRAFT
is allowed. To activate an insertion order, use UpdateInsertionOrder method and update the status to ENTITY_STATUS_ACTIVE
after creation. * An insertion order cannot be changed back to ENTITY_STATUS_DRAFT
status from any other status. * An insertion order cannot be set to ENTITY_STATUS_ACTIVE
if its parent campaign is not active.
frequency_cap: Option<FrequencyCap>
Required. The frequency capping setting of the insertion order.
insertion_order_id: Option<i64>
Output only. The unique ID of the insertion order. Assigned by the system.
insertion_order_type: Option<String>
The type of insertion order. If this field is unspecified in creation, the value defaults to RTB
.
integration_details: Option<IntegrationDetails>
Additional integration details of the insertion order.
name: Option<String>
Output only. The resource name of the insertion order.
pacing: Option<Pacing>
Required. The budget spending speed setting of the insertion order.
partner_costs: Option<Vec<PartnerCost>>
The partner costs associated with the insertion order. If absent or empty in CreateInsertionOrder method, the newly created insertion order will inherit partner costs from the partner settings.
performance_goal: Option<PerformanceGoal>
Required. Performance goal of the insertion order.
reservation_type: Option<String>
Output only. The reservation type of the insertion order.
update_time: Option<DateTime<Utc>>
Output only. The timestamp when the insertion order was last updated. Assigned by the system.
Trait Implementations§
source§impl Clone for InsertionOrder
impl Clone for InsertionOrder
source§fn clone(&self) -> InsertionOrder
fn clone(&self) -> InsertionOrder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more