Enum ExperimentArmErrorEnum.ExperimentArmError
- java.lang.Object
-
- java.lang.Enum<ExperimentArmErrorEnum.ExperimentArmError>
-
- com.google.ads.googleads.v10.errors.ExperimentArmErrorEnum.ExperimentArmError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<ExperimentArmErrorEnum.ExperimentArmError>
- Enclosing class:
- ExperimentArmErrorEnum
public static enum ExperimentArmErrorEnum.ExperimentArmError extends java.lang.Enum<ExperimentArmErrorEnum.ExperimentArmError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible experiment arm errors.
Protobuf enumgoogle.ads.googleads.v10.errors.ExperimentArmErrorEnum.ExperimentArmError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTSBidding strategy is not supported in experiments.CANNOT_ADD_BASE_CAMPAIGN_WITH_DATE_RANGEExperiment date range must be within base campaign's date range.CANNOT_ADD_CAMPAIGN_WITH_CUSTOM_BUDGETCannot use custom budget on experiment's control campaigns.CANNOT_ADD_CAMPAIGN_WITH_SHARED_BUDGETCannot use shared budget on experiment's control campaign.CANNOT_ADD_CAMPAIGNS_WITH_DYNAMIC_ASSETS_ENABLEDCannot have enable_dynamic_assets turned on in experiment's campaigns.CANNOT_MODIFY_CAMPAIGN_IDSCannot edit campaign ids in trial arms in non SETUP experiment.CANNOT_MODIFY_CAMPAIGN_WITHOUT_SUFFIX_SETCannot modify the campaigns in the control arm if there is not a suffix set in the trial.CANNOT_MUTATE_TRAFFIC_SPLIT_AFTER_STARTTraffic split related settings (like traffic share bounds) can't be modified after the trial has started.CANNOT_SET_TREATMENT_ARM_CAMPAIGNCannot set campaigns of treatment experiment arm.DUPLICATE_EXPERIMENT_ARM_NAMECannot add duplicate experiment arm name in one experiment.EXPERIMENT_ARM_COUNT_LIMIT_EXCEEDEDNumber of experiment arms is above limit.INVALID_CAMPAIGN_STATUSCannot add campaign with invalid status to the experiment arm.TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPETraffic split is not supported for some channel types.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.UNSUPPORTED_CAMPAIGN_ADVERTISING_CHANNEL_SUB_TYPECannot use campaign's advertising channel sub type in experiment.
-
Field Summary
Fields Modifier and Type Field Description static intBIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS_VALUEBidding strategy is not supported in experiments.static intCANNOT_ADD_BASE_CAMPAIGN_WITH_DATE_RANGE_VALUEExperiment date range must be within base campaign's date range.static intCANNOT_ADD_CAMPAIGN_WITH_CUSTOM_BUDGET_VALUECannot use custom budget on experiment's control campaigns.static intCANNOT_ADD_CAMPAIGN_WITH_SHARED_BUDGET_VALUECannot use shared budget on experiment's control campaign.static intCANNOT_ADD_CAMPAIGNS_WITH_DYNAMIC_ASSETS_ENABLED_VALUECannot have enable_dynamic_assets turned on in experiment's campaigns.static intCANNOT_MODIFY_CAMPAIGN_IDS_VALUECannot edit campaign ids in trial arms in non SETUP experiment.static intCANNOT_MODIFY_CAMPAIGN_WITHOUT_SUFFIX_SET_VALUECannot modify the campaigns in the control arm if there is not a suffix set in the trial.static intCANNOT_MUTATE_TRAFFIC_SPLIT_AFTER_START_VALUETraffic split related settings (like traffic share bounds) can't be modified after the trial has started.static intCANNOT_SET_TREATMENT_ARM_CAMPAIGN_VALUECannot set campaigns of treatment experiment arm.static intDUPLICATE_EXPERIMENT_ARM_NAME_VALUECannot add duplicate experiment arm name in one experiment.static intEXPERIMENT_ARM_COUNT_LIMIT_EXCEEDED_VALUENumber of experiment arms is above limit.static intINVALID_CAMPAIGN_STATUS_VALUECannot add campaign with invalid status to the experiment arm.static intTRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE_VALUETraffic split is not supported for some channel types.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.static intUNSUPPORTED_CAMPAIGN_ADVERTISING_CHANNEL_SUB_TYPE_VALUECannot use campaign's advertising channel sub type in experiment.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ExperimentArmErrorEnum.ExperimentArmErrorforNumber(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<ExperimentArmErrorEnum.ExperimentArmError>internalGetValueMap()static ExperimentArmErrorEnum.ExperimentArmErrorvalueOf(int value)Deprecated.static ExperimentArmErrorEnum.ExperimentArmErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ExperimentArmErrorEnum.ExperimentArmErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ExperimentArmErrorEnum.ExperimentArmError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final ExperimentArmErrorEnum.ExperimentArmError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final ExperimentArmErrorEnum.ExperimentArmError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
EXPERIMENT_ARM_COUNT_LIMIT_EXCEEDED
public static final ExperimentArmErrorEnum.ExperimentArmError EXPERIMENT_ARM_COUNT_LIMIT_EXCEEDED
Number of experiment arms is above limit.
EXPERIMENT_ARM_COUNT_LIMIT_EXCEEDED = 2;
-
INVALID_CAMPAIGN_STATUS
public static final ExperimentArmErrorEnum.ExperimentArmError INVALID_CAMPAIGN_STATUS
Cannot add campaign with invalid status to the experiment arm.
INVALID_CAMPAIGN_STATUS = 3;
-
DUPLICATE_EXPERIMENT_ARM_NAME
public static final ExperimentArmErrorEnum.ExperimentArmError DUPLICATE_EXPERIMENT_ARM_NAME
Cannot add duplicate experiment arm name in one experiment.
DUPLICATE_EXPERIMENT_ARM_NAME = 4;
-
CANNOT_SET_TREATMENT_ARM_CAMPAIGN
public static final ExperimentArmErrorEnum.ExperimentArmError CANNOT_SET_TREATMENT_ARM_CAMPAIGN
Cannot set campaigns of treatment experiment arm.
CANNOT_SET_TREATMENT_ARM_CAMPAIGN = 5;
-
CANNOT_MODIFY_CAMPAIGN_IDS
public static final ExperimentArmErrorEnum.ExperimentArmError CANNOT_MODIFY_CAMPAIGN_IDS
Cannot edit campaign ids in trial arms in non SETUP experiment.
CANNOT_MODIFY_CAMPAIGN_IDS = 6;
-
CANNOT_MODIFY_CAMPAIGN_WITHOUT_SUFFIX_SET
public static final ExperimentArmErrorEnum.ExperimentArmError CANNOT_MODIFY_CAMPAIGN_WITHOUT_SUFFIX_SET
Cannot modify the campaigns in the control arm if there is not a suffix set in the trial.
CANNOT_MODIFY_CAMPAIGN_WITHOUT_SUFFIX_SET = 7;
-
CANNOT_MUTATE_TRAFFIC_SPLIT_AFTER_START
public static final ExperimentArmErrorEnum.ExperimentArmError CANNOT_MUTATE_TRAFFIC_SPLIT_AFTER_START
Traffic split related settings (like traffic share bounds) can't be modified after the trial has started.
CANNOT_MUTATE_TRAFFIC_SPLIT_AFTER_START = 8;
-
CANNOT_ADD_CAMPAIGN_WITH_SHARED_BUDGET
public static final ExperimentArmErrorEnum.ExperimentArmError CANNOT_ADD_CAMPAIGN_WITH_SHARED_BUDGET
Cannot use shared budget on experiment's control campaign.
CANNOT_ADD_CAMPAIGN_WITH_SHARED_BUDGET = 9;
-
CANNOT_ADD_CAMPAIGN_WITH_CUSTOM_BUDGET
public static final ExperimentArmErrorEnum.ExperimentArmError CANNOT_ADD_CAMPAIGN_WITH_CUSTOM_BUDGET
Cannot use custom budget on experiment's control campaigns.
CANNOT_ADD_CAMPAIGN_WITH_CUSTOM_BUDGET = 10;
-
CANNOT_ADD_CAMPAIGNS_WITH_DYNAMIC_ASSETS_ENABLED
public static final ExperimentArmErrorEnum.ExperimentArmError CANNOT_ADD_CAMPAIGNS_WITH_DYNAMIC_ASSETS_ENABLED
Cannot have enable_dynamic_assets turned on in experiment's campaigns.
CANNOT_ADD_CAMPAIGNS_WITH_DYNAMIC_ASSETS_ENABLED = 11;
-
UNSUPPORTED_CAMPAIGN_ADVERTISING_CHANNEL_SUB_TYPE
public static final ExperimentArmErrorEnum.ExperimentArmError UNSUPPORTED_CAMPAIGN_ADVERTISING_CHANNEL_SUB_TYPE
Cannot use campaign's advertising channel sub type in experiment.
UNSUPPORTED_CAMPAIGN_ADVERTISING_CHANNEL_SUB_TYPE = 12;
-
CANNOT_ADD_BASE_CAMPAIGN_WITH_DATE_RANGE
public static final ExperimentArmErrorEnum.ExperimentArmError CANNOT_ADD_BASE_CAMPAIGN_WITH_DATE_RANGE
Experiment date range must be within base campaign's date range.
CANNOT_ADD_BASE_CAMPAIGN_WITH_DATE_RANGE = 13;
-
BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS
public static final ExperimentArmErrorEnum.ExperimentArmError BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS
Bidding strategy is not supported in experiments.
BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS = 14;
-
TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE
public static final ExperimentArmErrorEnum.ExperimentArmError TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE
Traffic split is not supported for some channel types.
TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE = 15;
-
UNRECOGNIZED
public static final ExperimentArmErrorEnum.ExperimentArmError 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
-
EXPERIMENT_ARM_COUNT_LIMIT_EXCEEDED_VALUE
public static final int EXPERIMENT_ARM_COUNT_LIMIT_EXCEEDED_VALUE
Number of experiment arms is above limit.
EXPERIMENT_ARM_COUNT_LIMIT_EXCEEDED = 2;- See Also:
- Constant Field Values
-
INVALID_CAMPAIGN_STATUS_VALUE
public static final int INVALID_CAMPAIGN_STATUS_VALUE
Cannot add campaign with invalid status to the experiment arm.
INVALID_CAMPAIGN_STATUS = 3;- See Also:
- Constant Field Values
-
DUPLICATE_EXPERIMENT_ARM_NAME_VALUE
public static final int DUPLICATE_EXPERIMENT_ARM_NAME_VALUE
Cannot add duplicate experiment arm name in one experiment.
DUPLICATE_EXPERIMENT_ARM_NAME = 4;- See Also:
- Constant Field Values
-
CANNOT_SET_TREATMENT_ARM_CAMPAIGN_VALUE
public static final int CANNOT_SET_TREATMENT_ARM_CAMPAIGN_VALUE
Cannot set campaigns of treatment experiment arm.
CANNOT_SET_TREATMENT_ARM_CAMPAIGN = 5;- See Also:
- Constant Field Values
-
CANNOT_MODIFY_CAMPAIGN_IDS_VALUE
public static final int CANNOT_MODIFY_CAMPAIGN_IDS_VALUE
Cannot edit campaign ids in trial arms in non SETUP experiment.
CANNOT_MODIFY_CAMPAIGN_IDS = 6;- See Also:
- Constant Field Values
-
CANNOT_MODIFY_CAMPAIGN_WITHOUT_SUFFIX_SET_VALUE
public static final int CANNOT_MODIFY_CAMPAIGN_WITHOUT_SUFFIX_SET_VALUE
Cannot modify the campaigns in the control arm if there is not a suffix set in the trial.
CANNOT_MODIFY_CAMPAIGN_WITHOUT_SUFFIX_SET = 7;- See Also:
- Constant Field Values
-
CANNOT_MUTATE_TRAFFIC_SPLIT_AFTER_START_VALUE
public static final int CANNOT_MUTATE_TRAFFIC_SPLIT_AFTER_START_VALUE
Traffic split related settings (like traffic share bounds) can't be modified after the trial has started.
CANNOT_MUTATE_TRAFFIC_SPLIT_AFTER_START = 8;- See Also:
- Constant Field Values
-
CANNOT_ADD_CAMPAIGN_WITH_SHARED_BUDGET_VALUE
public static final int CANNOT_ADD_CAMPAIGN_WITH_SHARED_BUDGET_VALUE
Cannot use shared budget on experiment's control campaign.
CANNOT_ADD_CAMPAIGN_WITH_SHARED_BUDGET = 9;- See Also:
- Constant Field Values
-
CANNOT_ADD_CAMPAIGN_WITH_CUSTOM_BUDGET_VALUE
public static final int CANNOT_ADD_CAMPAIGN_WITH_CUSTOM_BUDGET_VALUE
Cannot use custom budget on experiment's control campaigns.
CANNOT_ADD_CAMPAIGN_WITH_CUSTOM_BUDGET = 10;- See Also:
- Constant Field Values
-
CANNOT_ADD_CAMPAIGNS_WITH_DYNAMIC_ASSETS_ENABLED_VALUE
public static final int CANNOT_ADD_CAMPAIGNS_WITH_DYNAMIC_ASSETS_ENABLED_VALUE
Cannot have enable_dynamic_assets turned on in experiment's campaigns.
CANNOT_ADD_CAMPAIGNS_WITH_DYNAMIC_ASSETS_ENABLED = 11;- See Also:
- Constant Field Values
-
UNSUPPORTED_CAMPAIGN_ADVERTISING_CHANNEL_SUB_TYPE_VALUE
public static final int UNSUPPORTED_CAMPAIGN_ADVERTISING_CHANNEL_SUB_TYPE_VALUE
Cannot use campaign's advertising channel sub type in experiment.
UNSUPPORTED_CAMPAIGN_ADVERTISING_CHANNEL_SUB_TYPE = 12;- See Also:
- Constant Field Values
-
CANNOT_ADD_BASE_CAMPAIGN_WITH_DATE_RANGE_VALUE
public static final int CANNOT_ADD_BASE_CAMPAIGN_WITH_DATE_RANGE_VALUE
Experiment date range must be within base campaign's date range.
CANNOT_ADD_BASE_CAMPAIGN_WITH_DATE_RANGE = 13;- See Also:
- Constant Field Values
-
BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS_VALUE
public static final int BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS_VALUE
Bidding strategy is not supported in experiments.
BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS = 14;- See Also:
- Constant Field Values
-
TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE_VALUE
public static final int TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE_VALUE
Traffic split is not supported for some channel types.
TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE = 15;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ExperimentArmErrorEnum.ExperimentArmError[] 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 (ExperimentArmErrorEnum.ExperimentArmError c : ExperimentArmErrorEnum.ExperimentArmError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExperimentArmErrorEnum.ExperimentArmError 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 ExperimentArmErrorEnum.ExperimentArmError 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 ExperimentArmErrorEnum.ExperimentArmError 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<ExperimentArmErrorEnum.ExperimentArmError> 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 ExperimentArmErrorEnum.ExperimentArmError 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
-
-