pub struct Forecast {
pub on_target_reach: Option<i64>,
pub total_reach: Option<i64>,
pub on_target_impressions: Option<i64>,
pub total_impressions: Option<i64>,
pub viewable_impressions: Option<i64>,
pub effective_frequency_breakdowns: Vec<EffectiveFrequencyBreakdown>,
pub on_target_coview_reach: Option<i64>,
pub total_coview_reach: Option<i64>,
pub on_target_coview_impressions: Option<i64>,
pub total_coview_impressions: Option<i64>,
pub views: Option<i64>,
}
Expand description
Forecasted traffic metrics for the planned products and targeting.
Fields§
§on_target_reach: Option<i64>
Number of unique people reached at least GenerateReachForecastRequest.min_effective_frequency or GenerateReachForecastRequest.effective_frequency_limit times that exactly matches the Targeting.
Note that a minimum number of unique people must be reached in order for data to be reported. If the minimum number is not met, the on_target_reach value will be rounded to 0.
total_reach: Option<i64>
Total number of unique people reached at least GenerateReachForecastRequest.min_effective_frequency or GenerateReachForecastRequest.effective_frequency_limit times. This includes people that may fall outside the specified Targeting.
Note that a minimum number of unique people must be reached in order for data to be reported. If the minimum number is not met, the total_reach value will be rounded to 0.
on_target_impressions: Option<i64>
Number of ad impressions that exactly matches the Targeting.
total_impressions: Option<i64>
Total number of ad impressions. This includes impressions that may fall outside the specified Targeting, due to insufficient information on signed-in users.
viewable_impressions: Option<i64>
Number of times the ad’s impressions were considered viewable. See https://support.google.com/google-ads/answer/7029393 for more information about what makes an ad viewable and how viewability is measured.
effective_frequency_breakdowns: Vec<EffectiveFrequencyBreakdown>
A list of effective frequency forecasts. The list is ordered starting with 1+ and ending with the value set in GenerateReachForecastRequest.effective_frequency_limit. If no effective_frequency_limit was set, this list will be empty.
on_target_coview_reach: Option<i64>
Number of unique people reached that exactly matches the Targeting including co-viewers.
total_coview_reach: Option<i64>
Number of unique people reached including co-viewers. This includes people that may fall outside the specified Targeting.
on_target_coview_impressions: Option<i64>
Number of ad impressions that exactly matches the Targeting including co-viewers.
total_coview_impressions: Option<i64>
Total number of ad impressions including co-viewers. This includes impressions that may fall outside the specified Targeting, due to insufficient information on signed-in users.
views: Option<i64>
Number of ad views forecasted for the specified product and targeting. A view is counted when a viewer views a larger portion or the entirety of an ad beyond an impression.
See https://support.google.com/google-ads/answer/2375431 for more information on views.
Implementations§
source§impl Forecast
impl Forecast
sourcepub fn on_target_reach(&self) -> i64
pub fn on_target_reach(&self) -> i64
Returns the value of on_target_reach
, or the default value if on_target_reach
is unset.
sourcepub fn total_reach(&self) -> i64
pub fn total_reach(&self) -> i64
Returns the value of total_reach
, or the default value if total_reach
is unset.
sourcepub fn on_target_impressions(&self) -> i64
pub fn on_target_impressions(&self) -> i64
Returns the value of on_target_impressions
, or the default value if on_target_impressions
is unset.
sourcepub fn total_impressions(&self) -> i64
pub fn total_impressions(&self) -> i64
Returns the value of total_impressions
, or the default value if total_impressions
is unset.
sourcepub fn viewable_impressions(&self) -> i64
pub fn viewable_impressions(&self) -> i64
Returns the value of viewable_impressions
, or the default value if viewable_impressions
is unset.
sourcepub fn on_target_coview_reach(&self) -> i64
pub fn on_target_coview_reach(&self) -> i64
Returns the value of on_target_coview_reach
, or the default value if on_target_coview_reach
is unset.
sourcepub fn total_coview_reach(&self) -> i64
pub fn total_coview_reach(&self) -> i64
Returns the value of total_coview_reach
, or the default value if total_coview_reach
is unset.
sourcepub fn on_target_coview_impressions(&self) -> i64
pub fn on_target_coview_impressions(&self) -> i64
Returns the value of on_target_coview_impressions
, or the default value if on_target_coview_impressions
is unset.
sourcepub fn total_coview_impressions(&self) -> i64
pub fn total_coview_impressions(&self) -> i64
Returns the value of total_coview_impressions
, or the default value if total_coview_impressions
is unset.
Trait Implementations§
source§impl Message for Forecast
impl Message for Forecast
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 Forecast
impl PartialEq for Forecast
impl StructuralPartialEq for Forecast
Auto Trait Implementations§
impl Freeze for Forecast
impl RefUnwindSafe for Forecast
impl Send for Forecast
impl Sync for Forecast
impl Unpin for Forecast
impl UnwindSafe for Forecast
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