Enum CampaignExperimentErrorEnum.CampaignExperimentError
- java.lang.Object
-
- java.lang.Enum<CampaignExperimentErrorEnum.CampaignExperimentError>
-
- com.google.ads.googleads.v10.errors.CampaignExperimentErrorEnum.CampaignExperimentError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<CampaignExperimentErrorEnum.CampaignExperimentError>
- Enclosing class:
- CampaignExperimentErrorEnum
public static enum CampaignExperimentErrorEnum.CampaignExperimentError extends java.lang.Enum<CampaignExperimentErrorEnum.CampaignExperimentError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible campaign experiment errors.
Protobuf enumgoogle.ads.googleads.v10.errors.CampaignExperimentErrorEnum.CampaignExperimentError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAMPAIGN_CANNOT_CREATE_EXPERIMENTThis campaign is not allowed to create an experiment.CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFTCannot create an experiment from a draft, which has a status other than proposed.CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGNCannot create an experiment for a removed base campaign.CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGETCannot create an experiment from a campaign using an explicitly shared budget.CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUSThe experiment cannot be modified because its status is in a terminal state, such as REMOVED.CUSTOMER_CANNOT_CREATE_EXPERIMENTThis customer is not allowed to create an experiment.DUPLICATE_NAMEAn active campaign or experiment with this name already exists.EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATIONAll non-removed experiments must start and end within their campaign's duration.EXPERIMENT_DURATIONS_MUST_NOT_OVERLAPTrying to set an experiment duration which overlaps with another experiment.INVALID_TRANSITIONExperiment cannot be updated from the current state to the requested target state.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intCAMPAIGN_CANNOT_CREATE_EXPERIMENT_VALUEThis campaign is not allowed to create an experiment.static intCANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT_VALUECannot create an experiment from a draft, which has a status other than proposed.static intCANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN_VALUECannot create an experiment for a removed base campaign.static intCANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET_VALUECannot create an experiment from a campaign using an explicitly shared budget.static intCANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS_VALUEThe experiment cannot be modified because its status is in a terminal state, such as REMOVED.static intCUSTOMER_CANNOT_CREATE_EXPERIMENT_VALUEThis customer is not allowed to create an experiment.static intDUPLICATE_NAME_VALUEAn active campaign or experiment with this name already exists.static intEXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION_VALUEAll non-removed experiments must start and end within their campaign's duration.static intEXPERIMENT_DURATIONS_MUST_NOT_OVERLAP_VALUETrying to set an experiment duration which overlaps with another experiment.static intINVALID_TRANSITION_VALUEExperiment cannot be updated from the current state to the requested target state.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CampaignExperimentErrorEnum.CampaignExperimentErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<CampaignExperimentErrorEnum.CampaignExperimentError>internalGetValueMap()static CampaignExperimentErrorEnum.CampaignExperimentErrorvalueOf(int value)Deprecated.static CampaignExperimentErrorEnum.CampaignExperimentErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static CampaignExperimentErrorEnum.CampaignExperimentErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CampaignExperimentErrorEnum.CampaignExperimentError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final CampaignExperimentErrorEnum.CampaignExperimentError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final CampaignExperimentErrorEnum.CampaignExperimentError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
DUPLICATE_NAME
public static final CampaignExperimentErrorEnum.CampaignExperimentError DUPLICATE_NAME
An active campaign or experiment with this name already exists.
DUPLICATE_NAME = 2;
-
INVALID_TRANSITION
public static final CampaignExperimentErrorEnum.CampaignExperimentError 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_BUDGET
Cannot 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_CAMPAIGN
Cannot 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_DRAFT
Cannot 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_EXPERIMENT
This 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_EXPERIMENT
This 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_OVERLAP
Trying 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_DURATION
All 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_STATUS
The experiment cannot be modified because its status is in a terminal state, such as REMOVED.
CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS = 11;
-
UNRECOGNIZED
public static final CampaignExperimentErrorEnum.CampaignExperimentError UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Enum unspecified.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
The received error code is not known in this version.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
DUPLICATE_NAME_VALUE
public static final int DUPLICATE_NAME_VALUE
An active campaign or experiment with this name already exists.
DUPLICATE_NAME = 2;- See Also:
- Constant Field Values
-
INVALID_TRANSITION_VALUE
public static final int INVALID_TRANSITION_VALUE
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;- See Also:
- Constant Field Values
-
CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET_VALUE
public static final int CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET_VALUE
Cannot create an experiment from a campaign using an explicitly shared budget.
CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET = 4;- See Also:
- Constant Field Values
-
CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN_VALUE
public static final int CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN_VALUE
Cannot create an experiment for a removed base campaign.
CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN = 5;- See Also:
- Constant Field Values
-
CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT_VALUE
public static final int CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT_VALUE
Cannot create an experiment from a draft, which has a status other than proposed.
CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT = 6;- See Also:
- Constant Field Values
-
CUSTOMER_CANNOT_CREATE_EXPERIMENT_VALUE
public static final int CUSTOMER_CANNOT_CREATE_EXPERIMENT_VALUE
This customer is not allowed to create an experiment.
CUSTOMER_CANNOT_CREATE_EXPERIMENT = 7;- See Also:
- Constant Field Values
-
CAMPAIGN_CANNOT_CREATE_EXPERIMENT_VALUE
public static final int CAMPAIGN_CANNOT_CREATE_EXPERIMENT_VALUE
This campaign is not allowed to create an experiment.
CAMPAIGN_CANNOT_CREATE_EXPERIMENT = 8;- See Also:
- Constant Field Values
-
EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP_VALUE
public static final int EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP_VALUE
Trying to set an experiment duration which overlaps with another experiment.
EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP = 9;- See Also:
- Constant Field Values
-
EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION_VALUE
public static final int EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION_VALUE
All non-removed experiments must start and end within their campaign's duration.
EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION = 10;- See Also:
- Constant Field Values
-
CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS_VALUE
public static final int CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS_VALUE
The experiment cannot be modified because its status is in a terminal state, such as REMOVED.
CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS = 11;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CampaignExperimentErrorEnum.CampaignExperimentError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CampaignExperimentErrorEnum.CampaignExperimentError c : CampaignExperimentErrorEnum.CampaignExperimentError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CampaignExperimentErrorEnum.CampaignExperimentError valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 public static CampaignExperimentErrorEnum.CampaignExperimentError valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static CampaignExperimentErrorEnum.CampaignExperimentError forNumber(int value)
- 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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-