Struct google_api_proto::google::ads::googleads::v15::services::InsightsAudience
source · pub struct InsightsAudience {
pub country_locations: Vec<LocationInfo>,
pub sub_country_locations: Vec<LocationInfo>,
pub gender: Option<GenderInfo>,
pub age_ranges: Vec<AgeRangeInfo>,
pub parental_status: Option<ParentalStatusInfo>,
pub income_ranges: Vec<IncomeRangeInfo>,
pub dynamic_lineups: Vec<AudienceInsightsDynamicLineup>,
pub topic_audience_combinations: Vec<InsightsAudienceAttributeGroup>,
}
Expand description
A set of users, defined by various characteristics, for which insights can be requested in AudienceInsightsService.
Fields§
§country_locations: Vec<LocationInfo>
Required. The countries for the audience.
sub_country_locations: Vec<LocationInfo>
Sub-country geographic location attributes. If present, each of these must be contained in one of the countries in this audience. If absent, the audience is geographically to the country_locations and no further.
gender: Option<GenderInfo>
Gender for the audience. If absent, the audience does not restrict by gender.
age_ranges: Vec<AgeRangeInfo>
Age ranges for the audience. If absent, the audience represents all people over 18 that match the other attributes.
parental_status: Option<ParentalStatusInfo>
Parental status for the audience. If absent, the audience does not restrict by parental status.
income_ranges: Vec<IncomeRangeInfo>
Household income percentile ranges for the audience. If absent, the audience does not restrict by household income range.
dynamic_lineups: Vec<AudienceInsightsDynamicLineup>
Dynamic lineups representing the YouTube content viewed by the audience.
topic_audience_combinations: Vec<InsightsAudienceAttributeGroup>
A combination of entity, category and user interest attributes defining the audience. The combination has a logical AND-of-ORs structure: Attributes within each InsightsAudienceAttributeGroup are combined with OR, and the combinations themselves are combined together with AND. For example, the expression (Entity OR Affinity) AND (In-Market OR Category) can be formed using two InsightsAudienceAttributeGroups with two Attributes each.
Trait Implementations§
source§impl Clone for InsightsAudience
impl Clone for InsightsAudience
source§fn clone(&self) -> InsightsAudience
fn clone(&self) -> InsightsAudience
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InsightsAudience
impl Debug for InsightsAudience
source§impl Default for InsightsAudience
impl Default for InsightsAudience
source§impl Message for InsightsAudience
impl Message for InsightsAudience
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 InsightsAudience
impl PartialEq for InsightsAudience
source§fn eq(&self, other: &InsightsAudience) -> bool
fn eq(&self, other: &InsightsAudience) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InsightsAudience
Auto Trait Implementations§
impl Freeze for InsightsAudience
impl RefUnwindSafe for InsightsAudience
impl Send for InsightsAudience
impl Sync for InsightsAudience
impl Unpin for InsightsAudience
impl UnwindSafe for InsightsAudience
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