CampaignExperimentError

  • This document describes the possible errors that can occur with campaign experiments.

  • Errors include issues with duplicate names, invalid state transitions, and shared budgets.

  • Problems with creating experiments from removed campaigns or non-proposed drafts are also outlined.

  • Constraints on experiment durations, such as non-overlapping periods and alignment with campaign duration, are discussed.

  • The document also mentions errors related to customer or campaign restrictions and the inability to modify experiments in a terminal status.

Enum describing possible campaign experiment errors.

Proto definition

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.