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.v18.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<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
.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
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