Struct google_api_proto::google::ads::googleads::v17::services::GenerateAudienceCompositionInsightsRequest
source · 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.v17.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(&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 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
§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