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
  • Enum Constant Details

    • UNSPECIFIED

      public static final ExperimentErrorEnum.ExperimentError UNSPECIFIED
       Enum unspecified.
       
      UNSPECIFIED = 0;
    • UNKNOWN

      public static final ExperimentErrorEnum.ExperimentError UNKNOWN
       The received error code is not known in this version.
       
      UNKNOWN = 1;
    • CANNOT_SET_START_DATE_IN_PAST

      public static final ExperimentErrorEnum.ExperimentError 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

      public static final ExperimentErrorEnum.ExperimentError 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

      public static final ExperimentErrorEnum.ExperimentError 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

      public static final ExperimentErrorEnum.ExperimentError DUPLICATE_EXPERIMENT_NAME
       The experiment has the same name as an existing active experiment.
       
      DUPLICATE_EXPERIMENT_NAME = 5;
    • CANNOT_MODIFY_REMOVED_EXPERIMENT

      public static final ExperimentErrorEnum.ExperimentError CANNOT_MODIFY_REMOVED_EXPERIMENT
       Experiments can only be modified when they are ENABLED.
       
      CANNOT_MODIFY_REMOVED_EXPERIMENT = 6;
    • START_DATE_ALREADY_PASSED

      public static final ExperimentErrorEnum.ExperimentError 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

      public static final ExperimentErrorEnum.ExperimentError 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

      public static final ExperimentErrorEnum.ExperimentError 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

      public static final ExperimentErrorEnum.ExperimentError CANNOT_MODIFY_PAST_END_DATE
       The end date of an expired experiment cannot be modified.
       
      CANNOT_MODIFY_PAST_END_DATE = 10;
    • INVALID_STATUS

      public static final ExperimentErrorEnum.ExperimentError INVALID_STATUS
       The status is invalid.
       
      INVALID_STATUS = 11;
    • INVALID_CAMPAIGN_CHANNEL_TYPE

      public static final ExperimentErrorEnum.ExperimentError INVALID_CAMPAIGN_CHANNEL_TYPE
       Experiment arm contains campaigns with invalid advertising channel type.
       
      INVALID_CAMPAIGN_CHANNEL_TYPE = 12;
    • OVERLAPPING_MEMBERS_AND_DATE_RANGE

      public static final ExperimentErrorEnum.ExperimentError 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

      public static final ExperimentErrorEnum.ExperimentError INVALID_TRIAL_ARM_TRAFFIC_SPLIT
       Experiment arm contains invalid traffic split.
       
      INVALID_TRIAL_ARM_TRAFFIC_SPLIT = 14;
    • TRAFFIC_SPLIT_OVERLAPPING

      public static final ExperimentErrorEnum.ExperimentError 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_DENOMINATOR
       The 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

      public static final ExperimentErrorEnum.ExperimentError 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

      public static final ExperimentErrorEnum.ExperimentError EXPERIMENT_NOT_FOUND
       The experiment could not be found.
       
      EXPERIMENT_NOT_FOUND = 18;
    • EXPERIMENT_NOT_YET_STARTED

      public static final ExperimentErrorEnum.ExperimentError EXPERIMENT_NOT_YET_STARTED
       Experiment has not begun.
       
      EXPERIMENT_NOT_YET_STARTED = 19;
    • CANNOT_HAVE_MULTIPLE_CONTROL_ARMS

      public static final ExperimentErrorEnum.ExperimentError 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

      public static final ExperimentErrorEnum.ExperimentError IN_DESIGN_CAMPAIGNS_NOT_SET
       The experiment doesn't set in-design campaigns.
       
      IN_DESIGN_CAMPAIGNS_NOT_SET = 21;
    • CANNOT_SET_STATUS_TO_GRADUATED

      public static final ExperimentErrorEnum.ExperimentError 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_BUDGET
       Cannot 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_BUDGET
       Cannot use custom budget on base campaign when scheduling an experiment.
       
      CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_CUSTOM_BUDGET = 24;
    • STATUS_TRANSITION_INVALID

      public static final ExperimentErrorEnum.ExperimentError STATUS_TRANSITION_INVALID
       Invalid status transition.
       
      STATUS_TRANSITION_INVALID = 25;
    • DUPLICATE_EXPERIMENT_CAMPAIGN_NAME

      public static final ExperimentErrorEnum.ExperimentError DUPLICATE_EXPERIMENT_CAMPAIGN_NAME
       The experiment campaign name conflicts with a pre-existing campaign.
       
      DUPLICATE_EXPERIMENT_CAMPAIGN_NAME = 26;
    • CANNOT_REMOVE_IN_CREATION_EXPERIMENT

      public static final ExperimentErrorEnum.ExperimentError 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_TYPES
       Cannot 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_TYPE
       Sync 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

      public static final ExperimentErrorEnum.ExperimentError INVALID_DURATION_FOR_AN_EXPERIMENT
       Experiment length cannot be longer than max length.
       
      INVALID_DURATION_FOR_AN_EXPERIMENT = 30;
    • UNRECOGNIZED

      public static final ExperimentErrorEnum.ExperimentError UNRECOGNIZED
  • Field Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       Enum unspecified.
       
      UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       The 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_VALUE
       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;
      See Also:
    • END_DATE_BEFORE_START_DATE_VALUE

      public static final int END_DATE_BEFORE_START_DATE_VALUE
       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;
      See Also:
    • START_DATE_TOO_FAR_IN_FUTURE_VALUE

      public static final int START_DATE_TOO_FAR_IN_FUTURE_VALUE
       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;
      See Also:
    • DUPLICATE_EXPERIMENT_NAME_VALUE

      public static final int DUPLICATE_EXPERIMENT_NAME_VALUE
       The 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_VALUE
       Experiments 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_VALUE
       The 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_VALUE
       The 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_VALUE
       The 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_VALUE
       The 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_VALUE
       The status is invalid.
       
      INVALID_STATUS = 11;
      See Also:
    • INVALID_CAMPAIGN_CHANNEL_TYPE_VALUE

      public static final int INVALID_CAMPAIGN_CHANNEL_TYPE_VALUE
       Experiment 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_VALUE
       A 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_VALUE
       Experiment arm contains invalid traffic split.
       
      INVALID_TRIAL_ARM_TRAFFIC_SPLIT = 14;
      See Also:
    • TRAFFIC_SPLIT_OVERLAPPING_VALUE

      public static final int TRAFFIC_SPLIT_OVERLAPPING_VALUE
       Experiment 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_VALUE
       The 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_VALUE
       Traffic 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_VALUE
       The experiment could not be found.
       
      EXPERIMENT_NOT_FOUND = 18;
      See Also:
    • EXPERIMENT_NOT_YET_STARTED_VALUE

      public static final int EXPERIMENT_NOT_YET_STARTED_VALUE
       Experiment 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_VALUE
       The 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_VALUE
       The 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_VALUE
       Clients 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_VALUE
       Cannot 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_VALUE
       Cannot 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_VALUE
       Invalid status transition.
       
      STATUS_TRANSITION_INVALID = 25;
      See Also:
    • DUPLICATE_EXPERIMENT_CAMPAIGN_NAME_VALUE

      public static final int DUPLICATE_EXPERIMENT_CAMPAIGN_NAME_VALUE
       The 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_VALUE
       Cannot 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_VALUE
       Cannot 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_VALUE
       Sync 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_VALUE
       Experiment length cannot be longer than max length.
       
      INVALID_DURATION_FOR_AN_EXPERIMENT = 30;
      See Also:
  • Method Details

    • values

      public static ExperimentErrorEnum.ExperimentError[] 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

      public static ExperimentErrorEnum.ExperimentError valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static ExperimentErrorEnum.ExperimentError valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static ExperimentErrorEnum.ExperimentError 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<ExperimentErrorEnum.ExperimentError> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null