Enum KeywordPlanErrorEnum.KeywordPlanError

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

    public static enum KeywordPlanErrorEnum.KeywordPlanError
    extends java.lang.Enum<KeywordPlanErrorEnum.KeywordPlanError>
    implements com.google.protobuf.ProtocolMessageEnum
     Enum describing possible errors from applying a keyword plan.
     
    Protobuf enum google.ads.googleads.v10.errors.KeywordPlanErrorEnum.KeywordPlanError
    • 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
      • BID_MULTIPLIER_OUT_OF_RANGE_VALUE

        public static final int BID_MULTIPLIER_OUT_OF_RANGE_VALUE
         The plan's bid multiplier value is outside the valid range.
         
        BID_MULTIPLIER_OUT_OF_RANGE = 2;
        See Also:
        Constant Field Values
      • BID_TOO_HIGH_VALUE

        public static final int BID_TOO_HIGH_VALUE
         The plan's bid value is too high.
         
        BID_TOO_HIGH = 3;
        See Also:
        Constant Field Values
      • BID_TOO_LOW_VALUE

        public static final int BID_TOO_LOW_VALUE
         The plan's bid value is too low.
         
        BID_TOO_LOW = 4;
        See Also:
        Constant Field Values
      • BID_TOO_MANY_FRACTIONAL_DIGITS_VALUE

        public static final int BID_TOO_MANY_FRACTIONAL_DIGITS_VALUE
         The plan's cpc bid is not a multiple of the minimum billable unit.
         
        BID_TOO_MANY_FRACTIONAL_DIGITS = 5;
        See Also:
        Constant Field Values
      • DAILY_BUDGET_TOO_LOW_VALUE

        public static final int DAILY_BUDGET_TOO_LOW_VALUE
         The plan's daily budget value is too low.
         
        DAILY_BUDGET_TOO_LOW = 6;
        See Also:
        Constant Field Values
      • DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS_VALUE

        public static final int DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS_VALUE
         The plan's daily budget is not a multiple of the minimum billable unit.
         
        DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS = 7;
        See Also:
        Constant Field Values
      • INVALID_VALUE_VALUE

        public static final int INVALID_VALUE_VALUE
         The input has an invalid value.
         
        INVALID_VALUE = 8;
        See Also:
        Constant Field Values
      • KEYWORD_PLAN_HAS_NO_KEYWORDS_VALUE

        public static final int KEYWORD_PLAN_HAS_NO_KEYWORDS_VALUE
         The plan has no keyword.
         
        KEYWORD_PLAN_HAS_NO_KEYWORDS = 9;
        See Also:
        Constant Field Values
      • KEYWORD_PLAN_NOT_ENABLED_VALUE

        public static final int KEYWORD_PLAN_NOT_ENABLED_VALUE
         The plan is not enabled and API cannot provide mutation, forecast or
         stats.
         
        KEYWORD_PLAN_NOT_ENABLED = 10;
        See Also:
        Constant Field Values
      • KEYWORD_PLAN_NOT_FOUND_VALUE

        public static final int KEYWORD_PLAN_NOT_FOUND_VALUE
         The requested plan cannot be found for providing forecast or stats.
         
        KEYWORD_PLAN_NOT_FOUND = 11;
        See Also:
        Constant Field Values
      • MISSING_BID_VALUE

        public static final int MISSING_BID_VALUE
         The plan is missing a cpc bid.
         
        MISSING_BID = 13;
        See Also:
        Constant Field Values
      • MISSING_FORECAST_PERIOD_VALUE

        public static final int MISSING_FORECAST_PERIOD_VALUE
         The plan is missing required forecast_period field.
         
        MISSING_FORECAST_PERIOD = 14;
        See Also:
        Constant Field Values
      • INVALID_FORECAST_DATE_RANGE_VALUE

        public static final int INVALID_FORECAST_DATE_RANGE_VALUE
         The plan's forecast_period has invalid forecast date range.
         
        INVALID_FORECAST_DATE_RANGE = 15;
        See Also:
        Constant Field Values
      • INVALID_NAME_VALUE

        public static final int INVALID_NAME_VALUE
         The plan's name is invalid.
         
        INVALID_NAME = 16;
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static KeywordPlanErrorEnum.KeywordPlanError 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 KeywordPlanErrorEnum.KeywordPlanError 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 KeywordPlanErrorEnum.KeywordPlanError 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 KeywordPlanErrorEnum.KeywordPlanError 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