Struct gapi_grpc::google::ads::googleads::v7::resources::KeywordPlanCampaign[][src]

pub struct KeywordPlanCampaign {
    pub resource_name: String,
    pub keyword_plan: String,
    pub id: i64,
    pub name: String,
    pub language_constants: Vec<String>,
    pub keyword_plan_network: i32,
    pub cpc_bid_micros: i64,
    pub geo_targets: Vec<KeywordPlanGeoTarget>,
}

A Keyword Plan campaign. Max number of keyword plan campaigns per plan allowed: 1.

Fields

resource_name: String

Immutable. The resource name of the Keyword Plan campaign. KeywordPlanCampaign resource names have the form:

customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}

keyword_plan: String

The keyword plan this campaign belongs to.

id: i64

Output only. The ID of the Keyword Plan campaign.

name: String

The name of the Keyword Plan campaign.

This field is required and should not be empty when creating Keyword Plan campaigns.

language_constants: Vec<String>

The languages targeted for the Keyword Plan campaign. Max allowed: 1.

keyword_plan_network: i32

Targeting network.

This field is required and should not be empty when creating Keyword Plan campaigns.

cpc_bid_micros: i64

A default max cpc bid in micros, and in the account currency, for all ad groups under the campaign.

This field is required and should not be empty when creating Keyword Plan campaigns.

geo_targets: Vec<KeywordPlanGeoTarget>

The geo targets. Max number allowed: 20.

Implementations

impl KeywordPlanCampaign[src]

pub fn keyword_plan_network(&self) -> KeywordPlanNetwork[src]

Returns the enum value of keyword_plan_network, or the default if the field is set to an invalid enum value.

pub fn set_keyword_plan_network(&mut self, value: KeywordPlanNetwork)[src]

Sets keyword_plan_network to the provided enum value.

Trait Implementations

impl Clone for KeywordPlanCampaign[src]

impl Debug for KeywordPlanCampaign[src]

impl Default for KeywordPlanCampaign[src]

impl Message for KeywordPlanCampaign[src]

impl PartialEq<KeywordPlanCampaign> for KeywordPlanCampaign[src]

impl StructuralPartialEq for KeywordPlanCampaign[src]

Auto Trait Implementations

impl RefUnwindSafe for KeywordPlanCampaign

impl Send for KeywordPlanCampaign

impl Sync for KeywordPlanCampaign

impl Unpin for KeywordPlanCampaign

impl UnwindSafe for KeywordPlanCampaign

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]