/// Immediately ends an experiment, changing the experiment's scheduled
/// end date and without waiting for end of day. End date is updated to be the
/// time of the request.
///
/// List of thrown errors:
///   [AuthenticationError]()
///   [AuthorizationError]()
///   [ExperimentError]()
///   [HeaderError]()
///   [InternalError]()
///   [QuotaError]()
///   [RequestError]()
Immediately ends an experiment, changing the experiment's scheduled
end date and without waiting for end of day. End date is updated to be the
time of the request.


Immediately ends an experiment changing the experiment ' s scheduled end date and without waiting for end of day . End date is updated to be the time of the request .
pub async fn end_experiment(
            &mut self,
            request: impl tonic::IntoRequest<super::EndExperimentRequest>,
        ) -> Result<tonic::Response<()>, 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.ExperimentService/EndExperiment",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn end_experiment ( & mut self , request : impl tonic :: IntoRequest < super :: EndExperimentRequest > , ) -> Result < tonic :: Response < ( ) > , 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 }
Immediately ends an experiment, changing the experiment's scheduled
end date and without waiting for end of day.
Immediately ends an experiment changing the experiment ' s scheduled end date and without waiting for end of day .
&mut self
request
impl tonic::IntoRequest<super::EndExperimentRequest>