Struct google_api_proto::google::ads::googleads::v16::resources::KeywordPlanAdGroup
source · pub struct KeywordPlanAdGroup {
pub resource_name: String,
pub keyword_plan_campaign: Option<String>,
pub id: Option<i64>,
pub name: Option<String>,
pub cpc_bid_micros: Option<i64>,
}
Expand description
A Keyword Planner ad group. Max number of keyword plan ad groups per plan: 200.
Fields§
§resource_name: String
Immutable. The resource name of the Keyword Planner ad group. KeywordPlanAdGroup resource names have the form:
customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}
keyword_plan_campaign: Option<String>
The keyword plan campaign to which this ad group belongs.
id: Option<i64>
Output only. The ID of the keyword plan ad group.
name: Option<String>
The name of the keyword plan ad group.
This field is required and should not be empty when creating keyword plan ad group.
cpc_bid_micros: Option<i64>
A default ad group max cpc bid in micros in account currency for all biddable keywords under the keyword plan ad group. If not set, will inherit from parent campaign.
Implementations§
source§impl KeywordPlanAdGroup
impl KeywordPlanAdGroup
sourcepub fn keyword_plan_campaign(&self) -> &str
pub fn keyword_plan_campaign(&self) -> &str
Returns the value of keyword_plan_campaign
, or the default value if keyword_plan_campaign
is unset.
sourcepub fn cpc_bid_micros(&self) -> i64
pub fn cpc_bid_micros(&self) -> i64
Returns the value of cpc_bid_micros
, or the default value if cpc_bid_micros
is unset.
Trait Implementations§
source§impl Clone for KeywordPlanAdGroup
impl Clone for KeywordPlanAdGroup
source§fn clone(&self) -> KeywordPlanAdGroup
fn clone(&self) -> KeywordPlanAdGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KeywordPlanAdGroup
impl Debug for KeywordPlanAdGroup
source§impl Default for KeywordPlanAdGroup
impl Default for KeywordPlanAdGroup
source§impl Message for KeywordPlanAdGroup
impl Message for KeywordPlanAdGroup
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for KeywordPlanAdGroup
impl PartialEq for KeywordPlanAdGroup
source§fn eq(&self, other: &KeywordPlanAdGroup) -> bool
fn eq(&self, other: &KeywordPlanAdGroup) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KeywordPlanAdGroup
Auto Trait Implementations§
impl Freeze for KeywordPlanAdGroup
impl RefUnwindSafe for KeywordPlanAdGroup
impl Send for KeywordPlanAdGroup
impl Sync for KeywordPlanAdGroup
impl Unpin for KeywordPlanAdGroup
impl UnwindSafe for KeywordPlanAdGroup
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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