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>,
}
Expand description
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§
Source§impl KeywordPlanCampaign
impl KeywordPlanCampaign
Sourcepub fn keyword_plan_network(&self) -> KeywordPlanNetwork
pub fn keyword_plan_network(&self) -> KeywordPlanNetwork
Returns the enum value of keyword_plan_network
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_keyword_plan_network(&mut self, value: KeywordPlanNetwork)
pub fn set_keyword_plan_network(&mut self, value: KeywordPlanNetwork)
Sets keyword_plan_network
to the provided enum value.
Trait Implementations§
Source§impl Clone for KeywordPlanCampaign
impl Clone for KeywordPlanCampaign
Source§fn clone(&self) -> KeywordPlanCampaign
fn clone(&self) -> KeywordPlanCampaign
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for KeywordPlanCampaign
impl Debug for KeywordPlanCampaign
Source§impl Default for KeywordPlanCampaign
impl Default for KeywordPlanCampaign
Source§impl Message for KeywordPlanCampaign
impl Message for KeywordPlanCampaign
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.Source§impl PartialEq for KeywordPlanCampaign
impl PartialEq for KeywordPlanCampaign
impl StructuralPartialEq for KeywordPlanCampaign
Auto Trait Implementations§
impl Freeze for KeywordPlanCampaign
impl RefUnwindSafe for KeywordPlanCampaign
impl Send for KeywordPlanCampaign
impl Sync for KeywordPlanCampaign
impl Unpin for KeywordPlanCampaign
impl UnwindSafe for KeywordPlanCampaign
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request