Struct google_api_proto::google::ads::googleads::v16::services::ListAudienceInsightsAttributesRequest
source · pub struct ListAudienceInsightsAttributesRequest {
pub customer_id: String,
pub dimensions: Vec<i32>,
pub query_text: String,
pub customer_insights_group: String,
pub location_country_filters: Vec<LocationInfo>,
}
Expand description
Request message for [AudienceInsightsService.ListAudienceInsightsAttributes][google.ads.googleads.v16.services.AudienceInsightsService.ListAudienceInsightsAttributes].
Fields§
§customer_id: String
Required. The ID of the customer.
dimensions: Vec<i32>
Required. The types of attributes to be returned.
query_text: String
Required. A free text query. If the requested dimensions include Attributes CATEGORY or KNOWLEDGE_GRAPH, then the attributes returned for those dimensions will match or be related to this string. For other dimensions, this field is ignored and all available attributes are returned.
customer_insights_group: String
The name of the customer being planned for. This is a user-defined value.
location_country_filters: Vec<LocationInfo>
If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and this field is present, then the SUB_COUNTRY_LOCATION attributes returned will be located in these countries. If this field is absent, then location attributes are not filtered by country. Setting this field when SUB_COUNTRY_LOCATION attributes are not requested will return an error.
Implementations§
source§impl ListAudienceInsightsAttributesRequest
impl ListAudienceInsightsAttributesRequest
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 ListAudienceInsightsAttributesRequest
impl Clone for ListAudienceInsightsAttributesRequest
source§fn clone(&self) -> ListAudienceInsightsAttributesRequest
fn clone(&self) -> ListAudienceInsightsAttributesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for ListAudienceInsightsAttributesRequest
impl Message for ListAudienceInsightsAttributesRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for ListAudienceInsightsAttributesRequest
impl PartialEq for ListAudienceInsightsAttributesRequest
source§fn eq(&self, other: &ListAudienceInsightsAttributesRequest) -> bool
fn eq(&self, other: &ListAudienceInsightsAttributesRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListAudienceInsightsAttributesRequest
Auto Trait Implementations§
impl Freeze for ListAudienceInsightsAttributesRequest
impl RefUnwindSafe for ListAudienceInsightsAttributesRequest
impl Send for ListAudienceInsightsAttributesRequest
impl Sync for ListAudienceInsightsAttributesRequest
impl Unpin for ListAudienceInsightsAttributesRequest
impl UnwindSafe for ListAudienceInsightsAttributesRequest
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