Struct google_api_proto::google::ads::googleads::v16::resources::KeywordPlanCampaignKeyword
source · pub struct KeywordPlanCampaignKeyword {
pub resource_name: String,
pub keyword_plan_campaign: Option<String>,
pub id: Option<i64>,
pub text: Option<String>,
pub match_type: i32,
pub negative: Option<bool>,
}
Expand description
A Keyword Plan Campaign keyword. Only negative keywords are supported for Campaign Keyword.
Fields§
§resource_name: String
Immutable. The resource name of the Keyword Plan Campaign keyword. KeywordPlanCampaignKeyword resource names have the form:
customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}
keyword_plan_campaign: Option<String>
The Keyword Plan campaign to which this negative keyword belongs.
id: Option<i64>
Output only. The ID of the Keyword Plan negative keyword.
text: Option<String>
The keyword text.
match_type: i32
The keyword match type.
negative: Option<bool>
Immutable. If true, the keyword is negative. Must be set to true. Only negative campaign keywords are supported.
Implementations§
source§impl KeywordPlanCampaignKeyword
impl KeywordPlanCampaignKeyword
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_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.
Trait Implementations§
source§impl Clone for KeywordPlanCampaignKeyword
impl Clone for KeywordPlanCampaignKeyword
source§fn clone(&self) -> KeywordPlanCampaignKeyword
fn clone(&self) -> KeywordPlanCampaignKeyword
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KeywordPlanCampaignKeyword
impl Debug for KeywordPlanCampaignKeyword
source§impl Default for KeywordPlanCampaignKeyword
impl Default for KeywordPlanCampaignKeyword
source§impl Message for KeywordPlanCampaignKeyword
impl Message for KeywordPlanCampaignKeyword
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 KeywordPlanCampaignKeyword
impl PartialEq for KeywordPlanCampaignKeyword
source§fn eq(&self, other: &KeywordPlanCampaignKeyword) -> bool
fn eq(&self, other: &KeywordPlanCampaignKeyword) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KeywordPlanCampaignKeyword
Auto Trait Implementations§
impl Freeze for KeywordPlanCampaignKeyword
impl RefUnwindSafe for KeywordPlanCampaignKeyword
impl Send for KeywordPlanCampaignKeyword
impl Sync for KeywordPlanCampaignKeyword
impl Unpin for KeywordPlanCampaignKeyword
impl UnwindSafe for KeywordPlanCampaignKeyword
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