Join us live on
Discord on the Google Advertising and Measurement Community server and on
YouTube on January 29th at 10:00 AM EST! We will discuss the new features added in v23 of the Google Ads API.
CampaignExperimentError
Stay organized with collections
Save and categorize content based on your preferences.
| Enums |
CAMPAIGN_CANNOT_CREATE_EXPERIMENT
|
This campaign is not allowed to create an experiment. |
CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT
|
Cannot create an experiment from a draft, which has a status other than proposed. |
CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN
|
Cannot create an experiment for a removed base campaign. |
CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET
|
Cannot create an experiment from a campaign using an explicitly shared budget. |
CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS
|
The experiment cannot be modified because its status is in a terminal state, such as REMOVED. |
CUSTOMER_CANNOT_CREATE_EXPERIMENT
|
This customer is not allowed to create an experiment. |
DUPLICATE_NAME
|
An active campaign or experiment with this name already exists. |
EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP
|
Trying to set an experiment duration which overlaps with another experiment. |
EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION
|
All non-removed experiments must start and end within their campaign's duration. |
INVALID_TRANSITION
|
Experiment cannot be updated from the current state to the requested target state. For example, an experiment can only graduate if its status is ENABLED. |
UNKNOWN
|
The received error code is not known in this version. |
UNSPECIFIED
|
Enum unspecified. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-22 UTC.
[null,null,["Last updated 2026-01-22 UTC."],[],[]]