Class CustomersResource.ExperimentsResource.EndExperimentRequest
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
Inheritance
CustomersResource.ExperimentsResource.EndExperimentRequest
Inherited Members
Namespace: Google.Apis.SA360.v23
Assembly: Google.Apis.SA360.v23.dll
Syntax
public class CustomersResource.ExperimentsResource.EndExperimentRequest : SA360BaseServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest
Constructors
EndExperimentRequest(IClientService, GoogleAdsSearchads360V23ServicesEndExperimentRequest, string)
Constructs a new EndExperiment request.
Declaration
public EndExperimentRequest(IClientService service, GoogleAdsSearchads360V23ServicesEndExperimentRequest body, string experiment)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleAdsSearchads360V23ServicesEndExperimentRequest | body | |
| string | experiment |
Properties
Experiment
Required. The resource name of the campaign experiment to end.
Declaration
[RequestParameter("experiment", RequestParameterType.Path)]
public virtual string Experiment { get; }
Property Value
| Type | Description |
|---|---|
| string |
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
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 EndExperiment parameter list.
Declaration
protected override void InitParameters()