pub async fn create_campaign_experiment(
            &mut self,
            request: impl tonic::IntoRequest<super::CreateCampaignExperimentRequest>,
        ) -> Result<
            tonic::Response<super::super::super::super::super::longrunning::Operation>,
            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.CampaignExperimentService/CreateCampaignExperiment",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
/// Creates a campaign experiment based on a campaign draft. The draft campaign
/// will be forked into a real campaign (called the experiment campaign) that
/// will begin serving ads if successfully created.
///
/// The campaign experiment is created immediately with status INITIALIZING.
/// This method return a long running operation that tracks the forking of the
/// draft campaign. If the forking fails, a list of errors can be retrieved
/// using the ListCampaignExperimentAsyncErrors method. The operation's
/// metadata will be a StringValue containing the resource name of the created
/// campaign experiment.
///
/// List of thrown errors:
///   [AuthenticationError]()
///   [AuthorizationError]()
///   [CampaignExperimentError]()
///   [DatabaseError]()
///   [DateError]()
///   [DateRangeError]()
///   [FieldError]()
///   [HeaderError]()
///   [InternalError]()
///   [QuotaError]()
///   [RangeError]()
///   [RequestError]()
Creates a campaign experiment based on a campaign draft. The draft campaign
will be forked into a real campaign (called the experiment campaign) that
will begin serving ads if successfully created.

The campaign experiment is created immediately with status INITIALIZING.
This method return a long running operation that tracks the forking of the
draft campaign. If the forking fails, a list of errors can be retrieved
using the ListCampaignExperimentAsyncErrors method. The operation's
metadata will be a StringValue containing the resource name of the created
campaign experiment.


Creates a campaign experiment based on a campaign draft . The draft campaign will be forked into a real campaign ( called the experiment campaign ) that will begin serving ads if successfully created . The campaign experiment is created immediately with status INITIALIZING . This method return a long running operation that tracks the forking of the draft campaign . If the forking fails a list of errors can be retrieved using the ListCampaignExperimentAsyncErrors method . The operation ' s metadata will be a StringValue containing the resource name of the created campaign experiment .
pub async fn create_campaign_experiment(
            &mut self,
            request: impl tonic::IntoRequest<super::CreateCampaignExperimentRequest>,
        ) -> Result<
            tonic::Response<super::super::super::super::super::longrunning::Operation>,
            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.CampaignExperimentService/CreateCampaignExperiment",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn create_campaign_experiment ( & mut self , request : impl tonic :: IntoRequest < super :: CreateCampaignExperimentRequest > , ) -> Result < tonic :: Response < super :: super :: super :: super :: super :: longrunning :: Operation > , 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 }
Creates a campaign experiment based on a campaign draft.
Creates a campaign experiment based on a campaign draft .
&mut self
request
impl tonic::IntoRequest<super::CreateCampaignExperimentRequest>
&mut self
request
impl tonic::IntoRequest<super::CreateCampaignExperimentRequest>