Class CustomersResource.ExperimentsResource.ScheduleExperimentRequest
Schedule an experiment. The in design campaign will be converted into a real campaign (called the experiment campaign) that will begin serving ads if successfully created. The experiment is scheduled immediately with status INITIALIZING. This method returns a long running operation that tracks the forking of the in design campaign. If the forking fails, a list of errors can be retrieved using the ListExperimentAsyncErrors method. The operation's metadata will be a string containing the resource name of the created experiment. List of thrown errors: AuthenticationError AuthorizationError ExperimentError DatabaseError DateError DateRangeError FieldError HeaderError InternalError QuotaError RangeError RequestError
Inheritance
Inherited Members
Namespace: Google.Apis.SA360.v23
Assembly: Google.Apis.SA360.v23.dll
Syntax
public class CustomersResource.ExperimentsResource.ScheduleExperimentRequest : SA360BaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
ScheduleExperimentRequest(IClientService, GoogleAdsSearchads360V23ServicesScheduleExperimentRequest, string)
Constructs a new ScheduleExperiment request.
Declaration
public ScheduleExperimentRequest(IClientService service, GoogleAdsSearchads360V23ServicesScheduleExperimentRequest body, string resourceName)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleAdsSearchads360V23ServicesScheduleExperimentRequest | body | |
| string | resourceName |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
ResourceName
Required. The scheduled experiment.
Declaration
[RequestParameter("resourceName", RequestParameterType.Path)]
public virtual string ResourceName { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes ScheduleExperiment parameter list.
Declaration
protected override void InitParameters()