/// Generates a product mix ideas given a set of preferences. This method
/// helps the advertiser to obtain a good mix of ad formats and budget
/// allocations based on its preferences.
///
/// List of thrown errors:
///   [AuthenticationError]()
///   [AuthorizationError]()
///   [HeaderError]()
///   [InternalError]()
///   [QuotaError]()
///   [ReachPlanError]()
///   [RequestError]()
Generates a product mix ideas given a set of preferences. This method
helps the advertiser to obtain a good mix of ad formats and budget
allocations based on its preferences.


Generates a product mix ideas given a set of preferences . This method helps the advertiser to obtain a good mix of ad formats and budget allocations based on its preferences .
pub async fn generate_product_mix_ideas(
            &mut self,
            request: impl tonic::IntoRequest<super::GenerateProductMixIdeasRequest>,
        ) -> Result<
            tonic::Response<super::GenerateProductMixIdeasResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.ads.googleads.v10.services.ReachPlanService/GenerateProductMixIdeas",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn generate_product_mix_ideas ( & mut self , request : impl tonic :: IntoRequest < super :: GenerateProductMixIdeasRequest > , ) -> Result < tonic :: Response < super :: GenerateProductMixIdeasResponse > , tonic :: Status , > { self . inner . ready ( ) . await . map_err ( | e | { tonic :: Status :: new ( tonic :: Code :: Unknown , format ! ( " " e into ( ) ) , ) } ) ? ; let codec = tonic :: codec :: ProstCodec :: default ( ) ; let path = http :: uri :: PathAndQuery :: from_static ( " " , ) ; self . inner . unary ( request . into_request ( ) , path , codec ) . await }
Generates a product mix ideas given a set of preferences.
Generates a product mix ideas given a set of preferences .
&mut self
request
impl tonic::IntoRequest<super::GenerateProductMixIdeasRequest>