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.experiments.graduateExperiment

Stay organized with collections Save and categorize content based on your preferences.

Graduates an experiment to a full campaign.

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

HTTP request

POST https://googleads.googleapis.com/v10/{experiment=customers/*/experiments/*}:graduateExperiment

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
experiment

string

Required. The experiment to be graduated.

Request body

The request body contains data with the following structure:

JSON representation
{
  "campaignBudgetMappings": [
    {
      object (CampaignBudgetMapping)
    }
  ],
  "validateOnly": boolean
}
Fields
campaignBudgetMappings[]

object (CampaignBudgetMapping)

Required. List of campaign budget mappings for graduation. Each campaign that appears here will graduate, and will be assigned a new budget that is paired with it in the mapping. The maximum size is one.

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.

CampaignBudgetMapping

The mapping of experiment campaign and budget to be graduated.

JSON representation
{
  "experimentCampaign": string,
  "campaignBudget": string
}
Fields
experimentCampaign

string

Required. The experiment campaign to graduate.

campaignBudget

string

Required. The budget that should be attached to the graduating experiment campaign.