Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the REST Introduction for details.

Method: customers.campaignExperiments.promote

Promotes the changes in a experiment campaign back to the base campaign.

The campaign experiment is updated immediately with status PROMOTING. This method return a long running operation that tracks the promoting of the experiment campaign. If the promoting fails, a list of errors can be retrieved using the campaignExperiments.listAsyncErrors method.

List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

HTTP request

POST https://googleads.googleapis.com/v7/{campaignExperiment=customers/*/campaignExperiments/*}:promote

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
campaignExperiment

string

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

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 no Long Running Operation is created. Only errors are returned.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.