Struct google_displayvideo1::api::Campaign
source · pub struct Campaign {
pub advertiser_id: Option<i64>,
pub campaign_budgets: Option<Vec<CampaignBudget>>,
pub campaign_flight: Option<CampaignFlight>,
pub campaign_goal: Option<CampaignGoal>,
pub campaign_id: Option<i64>,
pub display_name: Option<String>,
pub entity_status: Option<String>,
pub frequency_cap: Option<FrequencyCap>,
pub name: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
A single campaign.
§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).
- campaigns create advertisers (request|response)
- campaigns get advertisers (response)
- campaigns patch advertisers (request|response)
Fields§
§advertiser_id: Option<i64>
Output only. The unique ID of the advertiser the campaign belongs to.
campaign_budgets: Option<Vec<CampaignBudget>>
The list of budgets available to this campaign. If this field is not set, the campaign uses an unlimited budget.
campaign_flight: Option<CampaignFlight>
Required. The planned spend and duration of the campaign.
campaign_goal: Option<CampaignGoal>
Required. The goal of the campaign.
campaign_id: Option<i64>
Output only. The unique ID of the campaign. Assigned by the system.
display_name: Option<String>
Required. The display name of the campaign. Must be UTF-8 encoded with a maximum size of 240 bytes.
entity_status: Option<String>
Required. Controls whether or not the insertion orders under this campaign can spend their budgets and bid on inventory. * Accepted values are ENTITY_STATUS_ACTIVE
, ENTITY_STATUS_ARCHIVED
, and ENTITY_STATUS_PAUSED
. * For CreateCampaign method, ENTITY_STATUS_ARCHIVED
is not allowed.
frequency_cap: Option<FrequencyCap>
Required. The frequency cap setting of the campaign.
name: Option<String>
Output only. The resource name of the campaign.
update_time: Option<DateTime<Utc>>
Output only. The timestamp when the campaign was last updated. Assigned by the system.