Enum Class CampaignExperimentErrorEnum.CampaignExperimentError
java.lang.Object
java.lang.Enum<CampaignExperimentErrorEnum.CampaignExperimentError>
com.google.ads.googleads.v18.errors.CampaignExperimentErrorEnum.CampaignExperimentError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CampaignExperimentErrorEnum.CampaignExperimentError>,Constable
- Enclosing class:
- CampaignExperimentErrorEnum
public static enum CampaignExperimentErrorEnum.CampaignExperimentError
extends Enum<CampaignExperimentErrorEnum.CampaignExperimentError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible campaign experiment errors.Protobuf enum
google.ads.googleads.v18.errors.CampaignExperimentErrorEnum.CampaignExperimentError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis campaign is not allowed to create an experiment.Cannot create an experiment from a draft, which has a status other than proposed.Cannot create an experiment for a removed base campaign.Cannot create an experiment from a campaign using an explicitly shared budget.The experiment cannot be modified because its status is in a terminal state, such as REMOVED.This customer is not allowed to create an experiment.An active campaign or experiment with this name already exists.All non-removed experiments must start and end within their campaign's duration.Trying to set an experiment duration which overlaps with another experiment.Experiment cannot be updated from the current state to the requested target state.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThis campaign is not allowed to create an experiment.static final intCannot create an experiment from a draft, which has a status other than proposed.static final intCannot create an experiment for a removed base campaign.static final intCannot create an experiment from a campaign using an explicitly shared budget.static final intThe experiment cannot be modified because its status is in a terminal state, such as REMOVED.static final intThis customer is not allowed to create an experiment.static final intAn active campaign or experiment with this name already exists.static final intAll non-removed experiments must start and end within their campaign's duration.static final intTrying to set an experiment duration which overlaps with another experiment.static final intExperiment cannot be updated from the current state to the requested target state.static final intThe received error code is not known in this version.static final intEnum unspecified. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<CampaignExperimentErrorEnum.CampaignExperimentError>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0; -
UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1; -
DUPLICATE_NAME
An active campaign or experiment with this name already exists.
DUPLICATE_NAME = 2; -
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.
INVALID_TRANSITION = 3; -
CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET
public static final CampaignExperimentErrorEnum.CampaignExperimentError CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGETCannot create an experiment from a campaign using an explicitly shared budget.
CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET = 4; -
CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN
public static final CampaignExperimentErrorEnum.CampaignExperimentError CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGNCannot create an experiment for a removed base campaign.
CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN = 5; -
CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT
public static final CampaignExperimentErrorEnum.CampaignExperimentError CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFTCannot create an experiment from a draft, which has a status other than proposed.
CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT = 6; -
CUSTOMER_CANNOT_CREATE_EXPERIMENT
public static final CampaignExperimentErrorEnum.CampaignExperimentError CUSTOMER_CANNOT_CREATE_EXPERIMENTThis customer is not allowed to create an experiment.
CUSTOMER_CANNOT_CREATE_EXPERIMENT = 7; -
CAMPAIGN_CANNOT_CREATE_EXPERIMENT
public static final CampaignExperimentErrorEnum.CampaignExperimentError CAMPAIGN_CANNOT_CREATE_EXPERIMENTThis campaign is not allowed to create an experiment.
CAMPAIGN_CANNOT_CREATE_EXPERIMENT = 8; -
EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP
public static final CampaignExperimentErrorEnum.CampaignExperimentError EXPERIMENT_DURATIONS_MUST_NOT_OVERLAPTrying to set an experiment duration which overlaps with another experiment.
EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP = 9; -
EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION
public static final CampaignExperimentErrorEnum.CampaignExperimentError EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATIONAll non-removed experiments must start and end within their campaign's duration.
EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION = 10; -
CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS
public static final CampaignExperimentErrorEnum.CampaignExperimentError CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUSThe experiment cannot be modified because its status is in a terminal state, such as REMOVED.
CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS = 11; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEEnum unspecified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe received error code is not known in this version.
UNKNOWN = 1;- See Also:
-
DUPLICATE_NAME_VALUE
public static final int DUPLICATE_NAME_VALUEAn active campaign or experiment with this name already exists.
DUPLICATE_NAME = 2;- See Also:
-
INVALID_TRANSITION_VALUE
public static final int INVALID_TRANSITION_VALUEExperiment cannot be updated from the current state to the requested target state. For example, an experiment can only graduate if its status is ENABLED.
INVALID_TRANSITION = 3;- See Also:
-
CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET_VALUE
public static final int CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET_VALUECannot create an experiment from a campaign using an explicitly shared budget.
CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET = 4;- See Also:
-
CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN_VALUE
public static final int CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN_VALUECannot create an experiment for a removed base campaign.
CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN = 5;- See Also:
-
CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT_VALUE
public static final int CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT_VALUECannot create an experiment from a draft, which has a status other than proposed.
CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT = 6;- See Also:
-
CUSTOMER_CANNOT_CREATE_EXPERIMENT_VALUE
public static final int CUSTOMER_CANNOT_CREATE_EXPERIMENT_VALUEThis customer is not allowed to create an experiment.
CUSTOMER_CANNOT_CREATE_EXPERIMENT = 7;- See Also:
-
CAMPAIGN_CANNOT_CREATE_EXPERIMENT_VALUE
public static final int CAMPAIGN_CANNOT_CREATE_EXPERIMENT_VALUEThis campaign is not allowed to create an experiment.
CAMPAIGN_CANNOT_CREATE_EXPERIMENT = 8;- See Also:
-
EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP_VALUE
public static final int EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP_VALUETrying to set an experiment duration which overlaps with another experiment.
EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP = 9;- See Also:
-
EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION_VALUE
public static final int EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION_VALUEAll non-removed experiments must start and end within their campaign's duration.
EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION = 10;- See Also:
-
CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS_VALUE
public static final int CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS_VALUEThe experiment cannot be modified because its status is in a terminal state, such as REMOVED.
CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS = 11;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<CampaignExperimentErrorEnum.CampaignExperimentError> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static CampaignExperimentErrorEnum.CampaignExperimentError valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-