Struct google_api_proto::google::ads::googleads::v17::services::GenerateAudienceOverlapInsightsRequest
source · pub struct GenerateAudienceOverlapInsightsRequest {
pub customer_id: String,
pub country_location: Option<LocationInfo>,
pub primary_attribute: Option<AudienceInsightsAttribute>,
pub dimensions: Vec<i32>,
pub customer_insights_group: String,
}
Expand description
Request message for [AudienceInsightsService.GenerateAudienceOverlapInsights][google.ads.googleads.v17.services.AudienceInsightsService.GenerateAudienceOverlapInsights].
Fields§
§customer_id: String
Required. The ID of the customer.
country_location: Option<LocationInfo>
Required. The country in which to calculate the sizes and overlaps of audiences.
primary_attribute: Option<AudienceInsightsAttribute>
Required. The audience attribute that should be intersected with all other eligible audiences. This must be an Affinity or In-Market UserInterest, an AgeRange or a Gender.
dimensions: Vec<i32>
Required. The types of attributes of which to calculate the overlap with the primary_attribute. The values must be a subset of AFFINITY_USER_INTEREST, IN_MARKET_USER_INTEREST, AGE_RANGE and GENDER.
customer_insights_group: String
The name of the customer being planned for. This is a user-defined value.
Implementations§
source§impl GenerateAudienceOverlapInsightsRequest
impl GenerateAudienceOverlapInsightsRequest
sourcepub fn dimensions(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<AudienceInsightsDimension>>
pub fn dimensions( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<AudienceInsightsDimension>>
Returns an iterator which yields the valid enum values contained in dimensions
.
sourcepub fn push_dimensions(&mut self, value: AudienceInsightsDimension)
pub fn push_dimensions(&mut self, value: AudienceInsightsDimension)
Appends the provided enum value to dimensions
.
Trait Implementations§
source§impl Clone for GenerateAudienceOverlapInsightsRequest
impl Clone for GenerateAudienceOverlapInsightsRequest
source§fn clone(&self) -> GenerateAudienceOverlapInsightsRequest
fn clone(&self) -> GenerateAudienceOverlapInsightsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for GenerateAudienceOverlapInsightsRequest
impl Message for GenerateAudienceOverlapInsightsRequest
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 GenerateAudienceOverlapInsightsRequest
impl PartialEq for GenerateAudienceOverlapInsightsRequest
source§fn eq(&self, other: &GenerateAudienceOverlapInsightsRequest) -> bool
fn eq(&self, other: &GenerateAudienceOverlapInsightsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GenerateAudienceOverlapInsightsRequest
Auto Trait Implementations§
impl Freeze for GenerateAudienceOverlapInsightsRequest
impl RefUnwindSafe for GenerateAudienceOverlapInsightsRequest
impl Send for GenerateAudienceOverlapInsightsRequest
impl Sync for GenerateAudienceOverlapInsightsRequest
impl Unpin for GenerateAudienceOverlapInsightsRequest
impl UnwindSafe for GenerateAudienceOverlapInsightsRequest
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