Class CustomersResource.ExperimentsResource
The "experiments" collection of methods.
Inherited Members
Namespace: Google.Apis.SA360.v23
Assembly: Google.Apis.SA360.v23.dll
Syntax
public class CustomersResource.ExperimentsResource
Constructors
ExperimentsResource(IClientService)
Constructs a new resource.
Declaration
public ExperimentsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
EndExperiment(GoogleAdsSearchads360V23ServicesEndExperimentRequest, string)
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
Declaration
public virtual CustomersResource.ExperimentsResource.EndExperimentRequest EndExperiment(GoogleAdsSearchads360V23ServicesEndExperimentRequest body, string experiment)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleAdsSearchads360V23ServicesEndExperimentRequest | body | The body of the request. |
| string | experiment | Required. The resource name of the campaign experiment to end. |
Returns
| Type | Description |
|---|---|
| CustomersResource.ExperimentsResource.EndExperimentRequest |
GraduateExperiment(GoogleAdsSearchads360V23ServicesGraduateExperimentRequest, string)
Graduates an experiment to a full campaign. List of thrown errors: AuthenticationError AuthorizationError ExperimentError HeaderError InternalError MutateError QuotaError RequestError
Declaration
public virtual CustomersResource.ExperimentsResource.GraduateExperimentRequest GraduateExperiment(GoogleAdsSearchads360V23ServicesGraduateExperimentRequest body, string experiment)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleAdsSearchads360V23ServicesGraduateExperimentRequest | body | The body of the request. |
| string | experiment | Required. The experiment to be graduated. |
Returns
| Type | Description |
|---|---|
| CustomersResource.ExperimentsResource.GraduateExperimentRequest |
ListExperimentAsyncErrors(string)
Returns all errors that occurred during the last Experiment update (either scheduling or promotion). Supports standard list paging. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError
Declaration
public virtual CustomersResource.ExperimentsResource.ListExperimentAsyncErrorsRequest ListExperimentAsyncErrors(string resourceName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | resourceName | Required. The name of the experiment from which to retrieve the async errors. |
Returns
| Type | Description |
|---|---|
| CustomersResource.ExperimentsResource.ListExperimentAsyncErrorsRequest |
Mutate(GoogleAdsSearchads360V23ServicesMutateExperimentsRequest, string)
Creates, updates, or removes experiments. Operation statuses are returned. List of thrown errors: AuthenticationError AuthorizationError ExperimentError HeaderError InternalError QuotaError RequestError
Declaration
public virtual CustomersResource.ExperimentsResource.MutateRequest Mutate(GoogleAdsSearchads360V23ServicesMutateExperimentsRequest body, string customerId)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleAdsSearchads360V23ServicesMutateExperimentsRequest | body | The body of the request. |
| string | customerId | Required. The ID of the customer whose experiments are being modified. |
Returns
| Type | Description |
|---|---|
| CustomersResource.ExperimentsResource.MutateRequest |
PromoteExperiment(GoogleAdsSearchads360V23ServicesPromoteExperimentRequest, string)
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
Declaration
public virtual CustomersResource.ExperimentsResource.PromoteExperimentRequest PromoteExperiment(GoogleAdsSearchads360V23ServicesPromoteExperimentRequest body, string resourceName)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleAdsSearchads360V23ServicesPromoteExperimentRequest | body | The body of the request. |
| string | resourceName | Required. The resource name of the experiment to promote. |
Returns
| Type | Description |
|---|---|
| CustomersResource.ExperimentsResource.PromoteExperimentRequest |
ScheduleExperiment(GoogleAdsSearchads360V23ServicesScheduleExperimentRequest, string)
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
Declaration
public virtual CustomersResource.ExperimentsResource.ScheduleExperimentRequest ScheduleExperiment(GoogleAdsSearchads360V23ServicesScheduleExperimentRequest body, string resourceName)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleAdsSearchads360V23ServicesScheduleExperimentRequest | body | The body of the request. |
| string | resourceName | Required. The scheduled experiment. |
Returns
| Type | Description |
|---|---|
| CustomersResource.ExperimentsResource.ScheduleExperimentRequest |