Struct google_api_proto::google::ads::googleads::v15::services::PlannableTargeting
source · pub struct PlannableTargeting {
pub age_ranges: Vec<i32>,
pub genders: Vec<GenderInfo>,
pub devices: Vec<DeviceInfo>,
pub networks: Vec<i32>,
pub youtube_select_lineups: Vec<YouTubeSelectLineUp>,
pub surface_targeting: Option<SurfaceTargetingCombinations>,
}
Expand description
The targeting for which traffic metrics will be reported.
Fields§
§age_ranges: Vec<i32>
Allowed plannable age ranges for the product for which metrics will be reported. Actual targeting is computed by mapping this age range onto standard Google common.AgeRangeInfo values.
genders: Vec<GenderInfo>
Targetable genders for the ad product.
devices: Vec<DeviceInfo>
Targetable devices for the ad product. TABLET device targeting is automatically applied to reported metrics when MOBILE targeting is selected for CPM_MASTHEAD, GOOGLE_PREFERRED_BUMPER, and GOOGLE_PREFERRED_SHORT products.
networks: Vec<i32>
Targetable networks for the ad product.
youtube_select_lineups: Vec<YouTubeSelectLineUp>
Targetable YouTube Select Lineups for the ad product.
surface_targeting: Option<SurfaceTargetingCombinations>
Targetable surface combinations for the ad product.
Implementations§
source§impl PlannableTargeting
impl PlannableTargeting
sourcepub fn age_ranges(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<ReachPlanAgeRange>>
pub fn age_ranges( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<ReachPlanAgeRange>>
Returns an iterator which yields the valid enum values contained in age_ranges
.
sourcepub fn push_age_ranges(&mut self, value: ReachPlanAgeRange)
pub fn push_age_ranges(&mut self, value: ReachPlanAgeRange)
Appends the provided enum value to age_ranges
.
sourcepub fn networks(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<ReachPlanNetwork>>
pub fn networks( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<ReachPlanNetwork>>
Returns an iterator which yields the valid enum values contained in networks
.
sourcepub fn push_networks(&mut self, value: ReachPlanNetwork)
pub fn push_networks(&mut self, value: ReachPlanNetwork)
Appends the provided enum value to networks
.
Trait Implementations§
source§impl Clone for PlannableTargeting
impl Clone for PlannableTargeting
source§fn clone(&self) -> PlannableTargeting
fn clone(&self) -> PlannableTargeting
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PlannableTargeting
impl Debug for PlannableTargeting
source§impl Default for PlannableTargeting
impl Default for PlannableTargeting
source§impl Message for PlannableTargeting
impl Message for PlannableTargeting
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 PlannableTargeting
impl PartialEq for PlannableTargeting
source§fn eq(&self, other: &PlannableTargeting) -> bool
fn eq(&self, other: &PlannableTargeting) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PlannableTargeting
Auto Trait Implementations§
impl Freeze for PlannableTargeting
impl RefUnwindSafe for PlannableTargeting
impl Send for PlannableTargeting
impl Sync for PlannableTargeting
impl Unpin for PlannableTargeting
impl UnwindSafe for PlannableTargeting
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