Class CustomersResource.ExperimentsResource.PromoteExperimentRequest
Promotes the trial campaign thus applying changes in the trial campaign to the base campaign. This method returns a long running operation that tracks the promotion of the experiment campaign. If it 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 HeaderError InternalError QuotaError RequestError
Inheritance
CustomersResource.ExperimentsResource.PromoteExperimentRequest
Inherited Members
Namespace: Google.Apis.SA360.v23
Assembly: Google.Apis.SA360.v23.dll
Syntax
public class CustomersResource.ExperimentsResource.PromoteExperimentRequest : SA360BaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
PromoteExperimentRequest(IClientService, GoogleAdsSearchads360V23ServicesPromoteExperimentRequest, string)
Constructs a new PromoteExperiment request.
Declaration
public PromoteExperimentRequest(IClientService service, GoogleAdsSearchads360V23ServicesPromoteExperimentRequest body, string resourceName)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleAdsSearchads360V23ServicesPromoteExperimentRequest | 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 resource name of the experiment to promote.
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 PromoteExperiment parameter list.
Declaration
protected override void InitParameters()