Enum Class ExperimentErrorEnum.ExperimentError
java.lang.Object
java.lang.Enum<ExperimentErrorEnum.ExperimentError>
com.google.ads.googleads.v18.errors.ExperimentErrorEnum.ExperimentError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ExperimentErrorEnum.ExperimentError>,Constable
- Enclosing class:
- ExperimentErrorEnum
public static enum ExperimentErrorEnum.ExperimentError
extends Enum<ExperimentErrorEnum.ExperimentError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible experiment errors.Protobuf enum
google.ads.googleads.v18.errors.ExperimentErrorEnum.ExperimentError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCannot add campaign with deprecated ad types.Cannot use custom budget on base campaign when scheduling an experiment.Cannot use shared budget on base campaign when scheduling an experiment.Sync can only be enabled for supported experiment types.The experiment cannot have more than one control arm.The end date of an expired experiment cannot be modified.Experiments can only be modified when they are ENABLED.Traffic split related settings (like traffic share bounds) can't be modified after the experiment has started.Cannot remove in creation experiments.The end date of an experiment cannot be set in the past.The start date of an experiment cannot be set in the past.Clients must use the graduate action to graduate experiments and cannot set the status to GRADUATED directly.The status of an experiment cannot be set to REMOVED.The experiment campaign name conflicts with a pre-existing campaign.The experiment has the same name as an existing active experiment.The end date of an experiment is before its start date.The experiment could not be found.Experiment has not begun.The experiment doesn't set in-design campaigns.Experiment arm contains campaigns with invalid advertising channel type.Experiment length cannot be longer than max length.The status is invalid.Experiment arm contains invalid traffic split.A pair of trials share members and have overlapping date ranges.The start date of an experiment cannot be modified if the existing start date has already passed.The start date of an experiment is too far in the future.Invalid status transition.The total traffic split of trial arms is not equal to 100.Experiment contains trial arms with overlapping traffic split.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCannot add campaign with deprecated ad types.static final intCannot use custom budget on base campaign when scheduling an experiment.static final intCannot use shared budget on base campaign when scheduling an experiment.static final intSync can only be enabled for supported experiment types.static final intThe experiment cannot have more than one control arm.static final intThe end date of an expired experiment cannot be modified.static final intExperiments can only be modified when they are ENABLED.static final intTraffic split related settings (like traffic share bounds) can't be modified after the experiment has started.static final intCannot remove in creation experiments.static final intThe end date of an experiment cannot be set in the past.static final intThe start date of an experiment cannot be set in the past.static final intClients must use the graduate action to graduate experiments and cannot set the status to GRADUATED directly.static final intThe status of an experiment cannot be set to REMOVED.static final intThe experiment campaign name conflicts with a pre-existing campaign.static final intThe experiment has the same name as an existing active experiment.static final intThe end date of an experiment is before its start date.static final intThe experiment could not be found.static final intExperiment has not begun.static final intThe experiment doesn't set in-design campaigns.static final intExperiment arm contains campaigns with invalid advertising channel type.static final intExperiment length cannot be longer than max length.static final intThe status is invalid.static final intExperiment arm contains invalid traffic split.static final intA pair of trials share members and have overlapping date ranges.static final intThe start date of an experiment cannot be modified if the existing start date has already passed.static final intThe start date of an experiment is too far in the future.static final intInvalid status transition.static final intThe total traffic split of trial arms is not equal to 100.static final intExperiment contains trial arms with overlapping traffic split.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<ExperimentErrorEnum.ExperimentError>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.static ExperimentErrorEnum.ExperimentError[]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; -
CANNOT_SET_START_DATE_IN_PAST
The start date of an experiment cannot be set in the past. Use a start date in the future.
CANNOT_SET_START_DATE_IN_PAST = 2; -
END_DATE_BEFORE_START_DATE
The end date of an experiment is before its start date. Use an end date after the start date.
END_DATE_BEFORE_START_DATE = 3; -
START_DATE_TOO_FAR_IN_FUTURE
The start date of an experiment is too far in the future. Use a start date no more than 1 year in the future.
START_DATE_TOO_FAR_IN_FUTURE = 4; -
DUPLICATE_EXPERIMENT_NAME
The experiment has the same name as an existing active experiment.
DUPLICATE_EXPERIMENT_NAME = 5; -
CANNOT_MODIFY_REMOVED_EXPERIMENT
Experiments can only be modified when they are ENABLED.
CANNOT_MODIFY_REMOVED_EXPERIMENT = 6; -
START_DATE_ALREADY_PASSED
The start date of an experiment cannot be modified if the existing start date has already passed.
START_DATE_ALREADY_PASSED = 7; -
CANNOT_SET_END_DATE_IN_PAST
The end date of an experiment cannot be set in the past.
CANNOT_SET_END_DATE_IN_PAST = 8; -
CANNOT_SET_STATUS_TO_REMOVED
The status of an experiment cannot be set to REMOVED.
CANNOT_SET_STATUS_TO_REMOVED = 9; -
CANNOT_MODIFY_PAST_END_DATE
The end date of an expired experiment cannot be modified.
CANNOT_MODIFY_PAST_END_DATE = 10; -
INVALID_STATUS
The status is invalid.
INVALID_STATUS = 11; -
INVALID_CAMPAIGN_CHANNEL_TYPE
Experiment arm contains campaigns with invalid advertising channel type.
INVALID_CAMPAIGN_CHANNEL_TYPE = 12; -
OVERLAPPING_MEMBERS_AND_DATE_RANGE
A pair of trials share members and have overlapping date ranges.
OVERLAPPING_MEMBERS_AND_DATE_RANGE = 13; -
INVALID_TRIAL_ARM_TRAFFIC_SPLIT
Experiment arm contains invalid traffic split.
INVALID_TRIAL_ARM_TRAFFIC_SPLIT = 14; -
TRAFFIC_SPLIT_OVERLAPPING
Experiment contains trial arms with overlapping traffic split.
TRAFFIC_SPLIT_OVERLAPPING = 15; -
SUM_TRIAL_ARM_TRAFFIC_UNEQUALS_TO_TRIAL_TRAFFIC_SPLIT_DENOMINATOR
public static final ExperimentErrorEnum.ExperimentError SUM_TRIAL_ARM_TRAFFIC_UNEQUALS_TO_TRIAL_TRAFFIC_SPLIT_DENOMINATORThe total traffic split of trial arms is not equal to 100.
SUM_TRIAL_ARM_TRAFFIC_UNEQUALS_TO_TRIAL_TRAFFIC_SPLIT_DENOMINATOR = 16; -
CANNOT_MODIFY_TRAFFIC_SPLIT_AFTER_START
Traffic split related settings (like traffic share bounds) can't be modified after the experiment has started.
CANNOT_MODIFY_TRAFFIC_SPLIT_AFTER_START = 17; -
EXPERIMENT_NOT_FOUND
The experiment could not be found.
EXPERIMENT_NOT_FOUND = 18; -
EXPERIMENT_NOT_YET_STARTED
Experiment has not begun.
EXPERIMENT_NOT_YET_STARTED = 19; -
CANNOT_HAVE_MULTIPLE_CONTROL_ARMS
The experiment cannot have more than one control arm.
CANNOT_HAVE_MULTIPLE_CONTROL_ARMS = 20; -
IN_DESIGN_CAMPAIGNS_NOT_SET
The experiment doesn't set in-design campaigns.
IN_DESIGN_CAMPAIGNS_NOT_SET = 21; -
CANNOT_SET_STATUS_TO_GRADUATED
Clients must use the graduate action to graduate experiments and cannot set the status to GRADUATED directly.
CANNOT_SET_STATUS_TO_GRADUATED = 22; -
CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_SHARED_BUDGET
public static final ExperimentErrorEnum.ExperimentError CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_SHARED_BUDGETCannot use shared budget on base campaign when scheduling an experiment.
CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_SHARED_BUDGET = 23; -
CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_CUSTOM_BUDGET
public static final ExperimentErrorEnum.ExperimentError CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_CUSTOM_BUDGETCannot use custom budget on base campaign when scheduling an experiment.
CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_CUSTOM_BUDGET = 24; -
STATUS_TRANSITION_INVALID
Invalid status transition.
STATUS_TRANSITION_INVALID = 25; -
DUPLICATE_EXPERIMENT_CAMPAIGN_NAME
The experiment campaign name conflicts with a pre-existing campaign.
DUPLICATE_EXPERIMENT_CAMPAIGN_NAME = 26; -
CANNOT_REMOVE_IN_CREATION_EXPERIMENT
Cannot remove in creation experiments.
CANNOT_REMOVE_IN_CREATION_EXPERIMENT = 27; -
CANNOT_ADD_CAMPAIGN_WITH_DEPRECATED_AD_TYPES
public static final ExperimentErrorEnum.ExperimentError CANNOT_ADD_CAMPAIGN_WITH_DEPRECATED_AD_TYPESCannot add campaign with deprecated ad types. Deprecated ad types: ENHANCED_DISPLAY, GALLERY, GMAIL, KEYWORDLESS, TEXT.
CANNOT_ADD_CAMPAIGN_WITH_DEPRECATED_AD_TYPES = 28; -
CANNOT_ENABLE_SYNC_FOR_UNSUPPORTED_EXPERIMENT_TYPE
public static final ExperimentErrorEnum.ExperimentError CANNOT_ENABLE_SYNC_FOR_UNSUPPORTED_EXPERIMENT_TYPESync can only be enabled for supported experiment types. Supported experiment types: SEARCH_CUSTOM, DISPLAY_CUSTOM, DISPLAY_AUTOMATED_BIDDING_STRATEGY, SEARCH_AUTOMATED_BIDDING_STRATEGY.
CANNOT_ENABLE_SYNC_FOR_UNSUPPORTED_EXPERIMENT_TYPE = 29; -
INVALID_DURATION_FOR_AN_EXPERIMENT
Experiment length cannot be longer than max length.
INVALID_DURATION_FOR_AN_EXPERIMENT = 30; -
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:
-
CANNOT_SET_START_DATE_IN_PAST_VALUE
public static final int CANNOT_SET_START_DATE_IN_PAST_VALUEThe start date of an experiment cannot be set in the past. Use a start date in the future.
CANNOT_SET_START_DATE_IN_PAST = 2;- See Also:
-
END_DATE_BEFORE_START_DATE_VALUE
public static final int END_DATE_BEFORE_START_DATE_VALUEThe end date of an experiment is before its start date. Use an end date after the start date.
END_DATE_BEFORE_START_DATE = 3;- See Also:
-
START_DATE_TOO_FAR_IN_FUTURE_VALUE
public static final int START_DATE_TOO_FAR_IN_FUTURE_VALUEThe start date of an experiment is too far in the future. Use a start date no more than 1 year in the future.
START_DATE_TOO_FAR_IN_FUTURE = 4;- See Also:
-
DUPLICATE_EXPERIMENT_NAME_VALUE
public static final int DUPLICATE_EXPERIMENT_NAME_VALUEThe experiment has the same name as an existing active experiment.
DUPLICATE_EXPERIMENT_NAME = 5;- See Also:
-
CANNOT_MODIFY_REMOVED_EXPERIMENT_VALUE
public static final int CANNOT_MODIFY_REMOVED_EXPERIMENT_VALUEExperiments can only be modified when they are ENABLED.
CANNOT_MODIFY_REMOVED_EXPERIMENT = 6;- See Also:
-
START_DATE_ALREADY_PASSED_VALUE
public static final int START_DATE_ALREADY_PASSED_VALUEThe start date of an experiment cannot be modified if the existing start date has already passed.
START_DATE_ALREADY_PASSED = 7;- See Also:
-
CANNOT_SET_END_DATE_IN_PAST_VALUE
public static final int CANNOT_SET_END_DATE_IN_PAST_VALUEThe end date of an experiment cannot be set in the past.
CANNOT_SET_END_DATE_IN_PAST = 8;- See Also:
-
CANNOT_SET_STATUS_TO_REMOVED_VALUE
public static final int CANNOT_SET_STATUS_TO_REMOVED_VALUEThe status of an experiment cannot be set to REMOVED.
CANNOT_SET_STATUS_TO_REMOVED = 9;- See Also:
-
CANNOT_MODIFY_PAST_END_DATE_VALUE
public static final int CANNOT_MODIFY_PAST_END_DATE_VALUEThe end date of an expired experiment cannot be modified.
CANNOT_MODIFY_PAST_END_DATE = 10;- See Also:
-
INVALID_STATUS_VALUE
public static final int INVALID_STATUS_VALUEThe status is invalid.
INVALID_STATUS = 11;- See Also:
-
INVALID_CAMPAIGN_CHANNEL_TYPE_VALUE
public static final int INVALID_CAMPAIGN_CHANNEL_TYPE_VALUEExperiment arm contains campaigns with invalid advertising channel type.
INVALID_CAMPAIGN_CHANNEL_TYPE = 12;- See Also:
-
OVERLAPPING_MEMBERS_AND_DATE_RANGE_VALUE
public static final int OVERLAPPING_MEMBERS_AND_DATE_RANGE_VALUEA pair of trials share members and have overlapping date ranges.
OVERLAPPING_MEMBERS_AND_DATE_RANGE = 13;- See Also:
-
INVALID_TRIAL_ARM_TRAFFIC_SPLIT_VALUE
public static final int INVALID_TRIAL_ARM_TRAFFIC_SPLIT_VALUEExperiment arm contains invalid traffic split.
INVALID_TRIAL_ARM_TRAFFIC_SPLIT = 14;- See Also:
-
TRAFFIC_SPLIT_OVERLAPPING_VALUE
public static final int TRAFFIC_SPLIT_OVERLAPPING_VALUEExperiment contains trial arms with overlapping traffic split.
TRAFFIC_SPLIT_OVERLAPPING = 15;- See Also:
-
SUM_TRIAL_ARM_TRAFFIC_UNEQUALS_TO_TRIAL_TRAFFIC_SPLIT_DENOMINATOR_VALUE
public static final int SUM_TRIAL_ARM_TRAFFIC_UNEQUALS_TO_TRIAL_TRAFFIC_SPLIT_DENOMINATOR_VALUEThe total traffic split of trial arms is not equal to 100.
SUM_TRIAL_ARM_TRAFFIC_UNEQUALS_TO_TRIAL_TRAFFIC_SPLIT_DENOMINATOR = 16;- See Also:
-
CANNOT_MODIFY_TRAFFIC_SPLIT_AFTER_START_VALUE
public static final int CANNOT_MODIFY_TRAFFIC_SPLIT_AFTER_START_VALUETraffic split related settings (like traffic share bounds) can't be modified after the experiment has started.
CANNOT_MODIFY_TRAFFIC_SPLIT_AFTER_START = 17;- See Also:
-
EXPERIMENT_NOT_FOUND_VALUE
public static final int EXPERIMENT_NOT_FOUND_VALUEThe experiment could not be found.
EXPERIMENT_NOT_FOUND = 18;- See Also:
-
EXPERIMENT_NOT_YET_STARTED_VALUE
public static final int EXPERIMENT_NOT_YET_STARTED_VALUEExperiment has not begun.
EXPERIMENT_NOT_YET_STARTED = 19;- See Also:
-
CANNOT_HAVE_MULTIPLE_CONTROL_ARMS_VALUE
public static final int CANNOT_HAVE_MULTIPLE_CONTROL_ARMS_VALUEThe experiment cannot have more than one control arm.
CANNOT_HAVE_MULTIPLE_CONTROL_ARMS = 20;- See Also:
-
IN_DESIGN_CAMPAIGNS_NOT_SET_VALUE
public static final int IN_DESIGN_CAMPAIGNS_NOT_SET_VALUEThe experiment doesn't set in-design campaigns.
IN_DESIGN_CAMPAIGNS_NOT_SET = 21;- See Also:
-
CANNOT_SET_STATUS_TO_GRADUATED_VALUE
public static final int CANNOT_SET_STATUS_TO_GRADUATED_VALUEClients must use the graduate action to graduate experiments and cannot set the status to GRADUATED directly.
CANNOT_SET_STATUS_TO_GRADUATED = 22;- See Also:
-
CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_SHARED_BUDGET_VALUE
public static final int CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_SHARED_BUDGET_VALUECannot use shared budget on base campaign when scheduling an experiment.
CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_SHARED_BUDGET = 23;- See Also:
-
CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_CUSTOM_BUDGET_VALUE
public static final int CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_CUSTOM_BUDGET_VALUECannot use custom budget on base campaign when scheduling an experiment.
CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_CUSTOM_BUDGET = 24;- See Also:
-
STATUS_TRANSITION_INVALID_VALUE
public static final int STATUS_TRANSITION_INVALID_VALUEInvalid status transition.
STATUS_TRANSITION_INVALID = 25;- See Also:
-
DUPLICATE_EXPERIMENT_CAMPAIGN_NAME_VALUE
public static final int DUPLICATE_EXPERIMENT_CAMPAIGN_NAME_VALUEThe experiment campaign name conflicts with a pre-existing campaign.
DUPLICATE_EXPERIMENT_CAMPAIGN_NAME = 26;- See Also:
-
CANNOT_REMOVE_IN_CREATION_EXPERIMENT_VALUE
public static final int CANNOT_REMOVE_IN_CREATION_EXPERIMENT_VALUECannot remove in creation experiments.
CANNOT_REMOVE_IN_CREATION_EXPERIMENT = 27;- See Also:
-
CANNOT_ADD_CAMPAIGN_WITH_DEPRECATED_AD_TYPES_VALUE
public static final int CANNOT_ADD_CAMPAIGN_WITH_DEPRECATED_AD_TYPES_VALUECannot add campaign with deprecated ad types. Deprecated ad types: ENHANCED_DISPLAY, GALLERY, GMAIL, KEYWORDLESS, TEXT.
CANNOT_ADD_CAMPAIGN_WITH_DEPRECATED_AD_TYPES = 28;- See Also:
-
CANNOT_ENABLE_SYNC_FOR_UNSUPPORTED_EXPERIMENT_TYPE_VALUE
public static final int CANNOT_ENABLE_SYNC_FOR_UNSUPPORTED_EXPERIMENT_TYPE_VALUESync can only be enabled for supported experiment types. Supported experiment types: SEARCH_CUSTOM, DISPLAY_CUSTOM, DISPLAY_AUTOMATED_BIDDING_STRATEGY, SEARCH_AUTOMATED_BIDDING_STRATEGY.
CANNOT_ENABLE_SYNC_FOR_UNSUPPORTED_EXPERIMENT_TYPE = 29;- See Also:
-
INVALID_DURATION_FOR_AN_EXPERIMENT_VALUE
public static final int INVALID_DURATION_FOR_AN_EXPERIMENT_VALUEExperiment length cannot be longer than max length.
INVALID_DURATION_FOR_AN_EXPERIMENT = 30;- 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<ExperimentErrorEnum.ExperimentError> 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 ExperimentErrorEnum.ExperimentError 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
-