Struct google_api_proto::google::ads::googleads::v16::services::KeywordForecastMetrics
source · pub struct KeywordForecastMetrics {
pub impressions: Option<f64>,
pub click_through_rate: Option<f64>,
pub average_cpc_micros: Option<i64>,
pub clicks: Option<f64>,
pub cost_micros: Option<i64>,
pub conversions: Option<f64>,
pub conversion_rate: Option<f64>,
pub average_cpa_micros: Option<i64>,
}
Expand description
The forecast metrics for the planless keyword campaign.
Fields§
§impressions: Option<f64>
The total number of impressions.
click_through_rate: Option<f64>
The average click through rate. Available only if impressions > 0.
average_cpc_micros: Option<i64>
The average cpc. Available only if clicks > 0.
clicks: Option<f64>
The total number of clicks.
cost_micros: Option<i64>
The total cost.
conversions: Option<f64>
Forecasted number of conversions: clicks * conversion_rate.
conversion_rate: Option<f64>
Forecasted conversion rate.
average_cpa_micros: Option<i64>
Average cost per acquisition calculated as cost_micros / conversions.
Implementations§
source§impl KeywordForecastMetrics
impl KeywordForecastMetrics
sourcepub fn impressions(&self) -> f64
pub fn impressions(&self) -> f64
Returns the value of impressions
, or the default value if impressions
is unset.
sourcepub fn click_through_rate(&self) -> f64
pub fn click_through_rate(&self) -> f64
Returns the value of click_through_rate
, or the default value if click_through_rate
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.
sourcepub fn clicks(&self) -> f64
pub fn clicks(&self) -> f64
Returns the value of clicks
, or the default value if clicks
is unset.
sourcepub fn cost_micros(&self) -> i64
pub fn cost_micros(&self) -> i64
Returns the value of cost_micros
, or the default value if cost_micros
is unset.
sourcepub fn conversions(&self) -> f64
pub fn conversions(&self) -> f64
Returns the value of conversions
, or the default value if conversions
is unset.
sourcepub fn conversion_rate(&self) -> f64
pub fn conversion_rate(&self) -> f64
Returns the value of conversion_rate
, or the default value if conversion_rate
is unset.
sourcepub fn average_cpa_micros(&self) -> i64
pub fn average_cpa_micros(&self) -> i64
Returns the value of average_cpa_micros
, or the default value if average_cpa_micros
is unset.
Trait Implementations§
source§impl Clone for KeywordForecastMetrics
impl Clone for KeywordForecastMetrics
source§fn clone(&self) -> KeywordForecastMetrics
fn clone(&self) -> KeywordForecastMetrics
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KeywordForecastMetrics
impl Debug for KeywordForecastMetrics
source§impl Default for KeywordForecastMetrics
impl Default for KeywordForecastMetrics
source§impl Message for KeywordForecastMetrics
impl Message for KeywordForecastMetrics
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 KeywordForecastMetrics
impl PartialEq for KeywordForecastMetrics
source§fn eq(&self, other: &KeywordForecastMetrics) -> bool
fn eq(&self, other: &KeywordForecastMetrics) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for KeywordForecastMetrics
impl StructuralPartialEq for KeywordForecastMetrics
Auto Trait Implementations§
impl Freeze for KeywordForecastMetrics
impl RefUnwindSafe for KeywordForecastMetrics
impl Send for KeywordForecastMetrics
impl Sync for KeywordForecastMetrics
impl Unpin for KeywordForecastMetrics
impl UnwindSafe for KeywordForecastMetrics
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