pub struct TargetingSuggestionMetrics {
pub locations: Vec<AudienceInsightsAttributeMetadata>,
pub age_ranges: Vec<AgeRangeInfo>,
pub gender: Option<GenderInfo>,
pub parental_status: Option<ParentalStatusInfo>,
pub user_interests: Vec<AudienceInsightsAttributeMetadata>,
pub coverage: f64,
pub index: f64,
pub potential_youtube_reach: i64,
}
Expand description
A suggested targetable audience relevant to the requested audience.
Fields§
§locations: Vec<AudienceInsightsAttributeMetadata>
Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
age_ranges: Vec<AgeRangeInfo>
Suggested age targeting; may be empty indicating no age targeting.
gender: Option<GenderInfo>
Suggested gender targeting. If present, this attribute has dimension GENDER.
parental_status: Option<ParentalStatusInfo>
A Parental Status value (parent, or not a parent).
user_interests: Vec<AudienceInsightsAttributeMetadata>
Suggested audience segments to target. These attributes all have dimension AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
coverage: f64
The fraction (from 0 to 1 inclusive) of the requested audience that can be reached using the suggested targeting.
index: f64
The ratio of coverage to the coverage of the baseline audience or zero if this ratio is undefined or is not meaningful.
potential_youtube_reach: i64
The approximate estimated number of people that can be reached on YouTube using this targeting.
Trait Implementations§
Source§impl Clone for TargetingSuggestionMetrics
impl Clone for TargetingSuggestionMetrics
Source§fn clone(&self) -> TargetingSuggestionMetrics
fn clone(&self) -> TargetingSuggestionMetrics
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for TargetingSuggestionMetrics
impl Debug for TargetingSuggestionMetrics
Source§impl Default for TargetingSuggestionMetrics
impl Default for TargetingSuggestionMetrics
Source§impl Message for TargetingSuggestionMetrics
impl Message for TargetingSuggestionMetrics
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.impl StructuralPartialEq for TargetingSuggestionMetrics
Auto Trait Implementations§
impl Freeze for TargetingSuggestionMetrics
impl RefUnwindSafe for TargetingSuggestionMetrics
impl Send for TargetingSuggestionMetrics
impl Sync for TargetingSuggestionMetrics
impl Unpin for TargetingSuggestionMetrics
impl UnwindSafe for TargetingSuggestionMetrics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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