EndExperiment

  • The EndExperiment RPC immediately ends an experiment by updating its scheduled end date to the time of the request, without waiting for the end of the day.

  • The EndExperiment RPC requires the https://www.googleapis.com/auth/adwords OAuth scope for authorization.

  • Several errors can be thrown by the EndExperiment RPC, including authentication, authorization, experiment, header, internal, quota, and request errors.

EndExperiment

rpc EndExperiment(EndExperimentRequest) returns (Empty)

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.