Method: customers.experiments.endExperiment

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

HTTP request

POST https://googleads.googleapis.com/v15/{experiment=customers/*/experiments/*}:endExperiment

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
experiment

string

Required. The resource name of the campaign experiment to end.

Request body

The request body contains data with the following structure:

JSON representation
{
  "validateOnly": boolean
}
Fields
validateOnly

boolean

If true, the request is validated but not executed. Only errors are returned, not results.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adwords

For more information, see the OAuth 2.0 Overview.