pub struct GenerateAudienceCompositionInsightsRequest {
pub customer_id: String,
pub audience: Option<InsightsAudience>,
pub baseline_audience: Option<InsightsAudience>,
pub data_month: String,
pub dimensions: Vec<i32>,
pub customer_insights_group: String,
}
Expand description
Request message for [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v18.services.AudienceInsightsService.GenerateAudienceCompositionInsights].
Fields§
§customer_id: String
Required. The ID of the customer.
audience: Option<InsightsAudience>
Required. The audience of interest for which insights are being requested.
baseline_audience: Option<InsightsAudience>
The baseline audience to which the audience of interest is being compared.
data_month: String
The one-month range of historical data to use for insights, in the format “yyyy-mm”. If unset, insights will be returned for the last thirty days of data.
dimensions: Vec<i32>
Required. The audience dimensions for which composition insights should be returned.
customer_insights_group: String
The name of the customer being planned for. This is a user-defined value.
Implementations§
Source§impl GenerateAudienceCompositionInsightsRequest
impl GenerateAudienceCompositionInsightsRequest
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 GenerateAudienceCompositionInsightsRequest
impl Clone for GenerateAudienceCompositionInsightsRequest
Source§fn clone(&self) -> GenerateAudienceCompositionInsightsRequest
fn clone(&self) -> GenerateAudienceCompositionInsightsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Message for GenerateAudienceCompositionInsightsRequest
impl Message for GenerateAudienceCompositionInsightsRequest
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 GenerateAudienceCompositionInsightsRequest
impl PartialEq for GenerateAudienceCompositionInsightsRequest
Source§fn eq(&self, other: &GenerateAudienceCompositionInsightsRequest) -> bool
fn eq(&self, other: &GenerateAudienceCompositionInsightsRequest) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GenerateAudienceCompositionInsightsRequest
Auto Trait Implementations§
impl Freeze for GenerateAudienceCompositionInsightsRequest
impl RefUnwindSafe for GenerateAudienceCompositionInsightsRequest
impl Send for GenerateAudienceCompositionInsightsRequest
impl Sync for GenerateAudienceCompositionInsightsRequest
impl Unpin for GenerateAudienceCompositionInsightsRequest
impl UnwindSafe for GenerateAudienceCompositionInsightsRequest
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