Struct google_api_proto::google::ads::googleads::v15::common::KeywordPlanHistoricalMetrics
source · pub struct KeywordPlanHistoricalMetrics {
pub avg_monthly_searches: Option<i64>,
pub monthly_search_volumes: Vec<MonthlySearchVolume>,
pub competition: i32,
pub competition_index: Option<i64>,
pub low_top_of_page_bid_micros: Option<i64>,
pub high_top_of_page_bid_micros: Option<i64>,
pub average_cpc_micros: Option<i64>,
}
Expand description
Historical metrics specific to the targeting options selected. Targeting options include geographies, network, and so on. Refer to https://support.google.com/google-ads/answer/3022575 for more details.
Fields§
§avg_monthly_searches: Option<i64>
Approximate number of monthly searches on this query, averaged for the past 12 months.
monthly_search_volumes: Vec<MonthlySearchVolume>
Approximate number of searches on this query for the past twelve months.
competition: i32
The competition level for the query.
competition_index: Option<i64>
The competition index for the query in the range [0, 100]. Shows how competitive ad placement is for a keyword. The level of competition from 0-100 is determined by the number of ad slots filled divided by the total number of ad slots available. If not enough data is available, null is returned.
low_top_of_page_bid_micros: Option<i64>
Top of page bid low range (20th percentile) in micros for the keyword.
high_top_of_page_bid_micros: Option<i64>
Top of page bid high range (80th percentile) in micros for the keyword.
average_cpc_micros: Option<i64>
Average Cost Per Click in micros for the keyword.
Implementations§
source§impl KeywordPlanHistoricalMetrics
impl KeywordPlanHistoricalMetrics
sourcepub fn competition(&self) -> KeywordPlanCompetitionLevel
pub fn competition(&self) -> KeywordPlanCompetitionLevel
Returns the enum value of competition
, or the default if the field is set to an invalid enum value.
sourcepub fn set_competition(&mut self, value: KeywordPlanCompetitionLevel)
pub fn set_competition(&mut self, value: KeywordPlanCompetitionLevel)
Sets competition
to the provided enum value.
sourcepub fn avg_monthly_searches(&self) -> i64
pub fn avg_monthly_searches(&self) -> i64
Returns the value of avg_monthly_searches
, or the default value if avg_monthly_searches
is unset.
sourcepub fn competition_index(&self) -> i64
pub fn competition_index(&self) -> i64
Returns the value of competition_index
, or the default value if competition_index
is unset.
sourcepub fn low_top_of_page_bid_micros(&self) -> i64
pub fn low_top_of_page_bid_micros(&self) -> i64
Returns the value of low_top_of_page_bid_micros
, or the default value if low_top_of_page_bid_micros
is unset.
sourcepub fn high_top_of_page_bid_micros(&self) -> i64
pub fn high_top_of_page_bid_micros(&self) -> i64
Returns the value of high_top_of_page_bid_micros
, or the default value if high_top_of_page_bid_micros
is unset.
sourcepub fn average_cpc_micros(&self) -> i64
pub fn average_cpc_micros(&self) -> i64
Returns the value of average_cpc_micros
, or the default value if average_cpc_micros
is unset.
Trait Implementations§
source§impl Clone for KeywordPlanHistoricalMetrics
impl Clone for KeywordPlanHistoricalMetrics
source§fn clone(&self) -> KeywordPlanHistoricalMetrics
fn clone(&self) -> KeywordPlanHistoricalMetrics
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KeywordPlanHistoricalMetrics
impl Debug for KeywordPlanHistoricalMetrics
source§impl Message for KeywordPlanHistoricalMetrics
impl Message for KeywordPlanHistoricalMetrics
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 KeywordPlanHistoricalMetrics
impl PartialEq for KeywordPlanHistoricalMetrics
source§fn eq(&self, other: &KeywordPlanHistoricalMetrics) -> bool
fn eq(&self, other: &KeywordPlanHistoricalMetrics) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KeywordPlanHistoricalMetrics
Auto Trait Implementations§
impl Freeze for KeywordPlanHistoricalMetrics
impl RefUnwindSafe for KeywordPlanHistoricalMetrics
impl Send for KeywordPlanHistoricalMetrics
impl Sync for KeywordPlanHistoricalMetrics
impl Unpin for KeywordPlanHistoricalMetrics
impl UnwindSafe for KeywordPlanHistoricalMetrics
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