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.graduate

Graduates a campaign experiment to a full campaign. The base and experiment campaigns will start running independently with their own budgets.

List of thrown errors: AuthenticationError AuthorizationError CampaignExperimentError HeaderError InternalError MutateError QuotaError RequestError

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
campaignExperiment

string

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

Request body

The request body contains data with the following structure:

JSON representation
{
  "campaignBudget": string,
  "validateOnly": boolean
}
Fields
campaignBudget

string

Required. Resource name of the budget to attach to the campaign graduated from the experiment.

validateOnly

boolean

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

Response body

If successful, the response body contains data with the following structure:

Response message for campaign experiment graduate.

JSON representation
{
  "graduatedCampaign": string
}
Fields
graduatedCampaign

string

The resource name of the campaign from the graduated experiment. This campaign is the same one as CampaignExperiment.experiment_campaign.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.