Enum Class CampaignExperimentErrorEnum.CampaignExperimentError

java.lang.Object
java.lang.Enum<CampaignExperimentErrorEnum.CampaignExperimentError>
com.google.ads.googleads.v18.errors.CampaignExperimentErrorEnum.CampaignExperimentError
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<CampaignExperimentErrorEnum.CampaignExperimentError>, Constable
Enclosing class:
CampaignExperimentErrorEnum

public static enum CampaignExperimentErrorEnum.CampaignExperimentError extends Enum<CampaignExperimentErrorEnum.CampaignExperimentError> implements com.google.protobuf.ProtocolMessageEnum
 Enum describing possible campaign experiment errors.
 
Protobuf enum google.ads.googleads.v18.errors.CampaignExperimentErrorEnum.CampaignExperimentError
  • Enum Constant Details

  • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
  • 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 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.
      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 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:
      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 CampaignExperimentErrorEnum.CampaignExperimentError 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