Enum ExperimentErrorEnum.ExperimentError

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<ExperimentErrorEnum.ExperimentError>
    Enclosing class:
    ExperimentErrorEnum

    public static enum ExperimentErrorEnum.ExperimentError
    extends java.lang.Enum<ExperimentErrorEnum.ExperimentError>
    implements com.google.protobuf.ProtocolMessageEnum
     Enum describing possible experiment errors.
     
    Protobuf enum google.ads.googleads.v10.errors.ExperimentErrorEnum.ExperimentError
    • Enum Constant Detail

      • 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.
         Please 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.
         Please 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.
         Please 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_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;
      • 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;
    • 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
      • 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.
         Please use a start date in the future.
         
        CANNOT_SET_START_DATE_IN_PAST = 2;
        See Also:
        Constant Field Values
      • 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.
         Please use an end date after the start date.
         
        END_DATE_BEFORE_START_DATE = 3;
        See Also:
        Constant Field Values
      • 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.
         Please use a start date no more than 1 year in the future.
         
        START_DATE_TOO_FAR_IN_FUTURE = 4;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • INVALID_STATUS_VALUE

        public static final int INVALID_STATUS_VALUE
         The status is invalid.
         
        INVALID_STATUS = 11;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • EXPERIMENT_NOT_FOUND_VALUE

        public static final int EXPERIMENT_NOT_FOUND_VALUE
         The experiment could not be found.
         
        EXPERIMENT_NOT_FOUND = 18;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
    • Method Detail

      • values

        public static ExperimentErrorEnum.ExperimentError[] 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 (ExperimentErrorEnum.ExperimentError c : ExperimentErrorEnum.ExperimentError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ExperimentErrorEnum.ExperimentError 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 name
        java.lang.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 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 name
        java.lang.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.
      • 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 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 name
        java.lang.NullPointerException - if the argument is null