Struct google_api_proto::google::ads::googleads::v17::resources::KeywordPlanAdGroupKeyword
source · pub struct KeywordPlanAdGroupKeyword {
pub resource_name: String,
pub keyword_plan_ad_group: Option<String>,
pub id: Option<i64>,
pub text: Option<String>,
pub match_type: i32,
pub cpc_bid_micros: Option<i64>,
pub negative: Option<bool>,
}
Expand description
A Keyword Plan ad group keyword. Max number of keyword plan keywords per plan: 10000.
Fields§
§resource_name: String
Immutable. The resource name of the Keyword Plan ad group keyword. KeywordPlanAdGroupKeyword resource names have the form:
customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}
keyword_plan_ad_group: Option<String>
The Keyword Plan ad group to which this keyword belongs.
id: Option<i64>
Output only. The ID of the Keyword Plan keyword.
text: Option<String>
The keyword text.
match_type: i32
The keyword match type.
cpc_bid_micros: Option<i64>
A keyword level max cpc bid in micros (for example, $1 = 1mm). The currency is the same as the account currency code. This will override any CPC bid set at the keyword plan ad group level. Not applicable for negative keywords. (negative = true) This field is Optional.
negative: Option<bool>
Immutable. If true, the keyword is negative.
Implementations§
source§impl KeywordPlanAdGroupKeyword
impl KeywordPlanAdGroupKeyword
sourcepub fn match_type(&self) -> KeywordMatchType
pub fn match_type(&self) -> KeywordMatchType
Returns the enum value of match_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_match_type(&mut self, value: KeywordMatchType)
pub fn set_match_type(&mut self, value: KeywordMatchType)
Sets match_type
to the provided enum value.
sourcepub fn keyword_plan_ad_group(&self) -> &str
pub fn keyword_plan_ad_group(&self) -> &str
Returns the value of keyword_plan_ad_group
, or the default value if keyword_plan_ad_group
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 KeywordPlanAdGroupKeyword
impl Clone for KeywordPlanAdGroupKeyword
source§fn clone(&self) -> KeywordPlanAdGroupKeyword
fn clone(&self) -> KeywordPlanAdGroupKeyword
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KeywordPlanAdGroupKeyword
impl Debug for KeywordPlanAdGroupKeyword
source§impl Default for KeywordPlanAdGroupKeyword
impl Default for KeywordPlanAdGroupKeyword
source§impl Message for KeywordPlanAdGroupKeyword
impl Message for KeywordPlanAdGroupKeyword
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 KeywordPlanAdGroupKeyword
impl PartialEq for KeywordPlanAdGroupKeyword
source§fn eq(&self, other: &KeywordPlanAdGroupKeyword) -> bool
fn eq(&self, other: &KeywordPlanAdGroupKeyword) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KeywordPlanAdGroupKeyword
Auto Trait Implementations§
impl Freeze for KeywordPlanAdGroupKeyword
impl RefUnwindSafe for KeywordPlanAdGroupKeyword
impl Send for KeywordPlanAdGroupKeyword
impl Sync for KeywordPlanAdGroupKeyword
impl Unpin for KeywordPlanAdGroupKeyword
impl UnwindSafe for KeywordPlanAdGroupKeyword
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