Enum Class AccountBudgetProposalErrorEnum.AccountBudgetProposalError

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

public static enum AccountBudgetProposalErrorEnum.AccountBudgetProposalError extends Enum<AccountBudgetProposalErrorEnum.AccountBudgetProposalError> implements com.google.protobuf.ProtocolMessageEnum
 Enum describing possible account budget proposal errors.
 
Protobuf enum google.ads.googleads.v18.errors.AccountBudgetProposalErrorEnum.AccountBudgetProposalError
  • 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:
    • FIELD_MASK_NOT_ALLOWED_VALUE

      public static final int FIELD_MASK_NOT_ALLOWED_VALUE
       The field mask must be empty for create/end/remove proposals.
       
      FIELD_MASK_NOT_ALLOWED = 2;
      See Also:
    • IMMUTABLE_FIELD_VALUE

      public static final int IMMUTABLE_FIELD_VALUE
       The field cannot be set because of the proposal type.
       
      IMMUTABLE_FIELD = 3;
      See Also:
    • REQUIRED_FIELD_MISSING_VALUE

      public static final int REQUIRED_FIELD_MISSING_VALUE
       The field is required because of the proposal type.
       
      REQUIRED_FIELD_MISSING = 4;
      See Also:
    • CANNOT_CANCEL_APPROVED_PROPOSAL_VALUE

      public static final int CANNOT_CANCEL_APPROVED_PROPOSAL_VALUE
       Proposals that have been approved cannot be cancelled.
       
      CANNOT_CANCEL_APPROVED_PROPOSAL = 5;
      See Also:
    • CANNOT_REMOVE_UNAPPROVED_BUDGET_VALUE

      public static final int CANNOT_REMOVE_UNAPPROVED_BUDGET_VALUE
       Budgets that haven't been approved cannot be removed.
       
      CANNOT_REMOVE_UNAPPROVED_BUDGET = 6;
      See Also:
    • CANNOT_REMOVE_RUNNING_BUDGET_VALUE

      public static final int CANNOT_REMOVE_RUNNING_BUDGET_VALUE
       Budgets that are currently running cannot be removed.
       
      CANNOT_REMOVE_RUNNING_BUDGET = 7;
      See Also:
    • CANNOT_END_UNAPPROVED_BUDGET_VALUE

      public static final int CANNOT_END_UNAPPROVED_BUDGET_VALUE
       Budgets that haven't been approved cannot be truncated.
       
      CANNOT_END_UNAPPROVED_BUDGET = 8;
      See Also:
    • CANNOT_END_INACTIVE_BUDGET_VALUE

      public static final int CANNOT_END_INACTIVE_BUDGET_VALUE
       Only budgets that are currently running can be truncated.
       
      CANNOT_END_INACTIVE_BUDGET = 9;
      See Also:
    • BUDGET_NAME_REQUIRED_VALUE

      public static final int BUDGET_NAME_REQUIRED_VALUE
       All budgets must have names.
       
      BUDGET_NAME_REQUIRED = 10;
      See Also:
    • CANNOT_UPDATE_OLD_BUDGET_VALUE

      public static final int CANNOT_UPDATE_OLD_BUDGET_VALUE
       Expired budgets cannot be edited after a sufficient amount of time has
       passed.
       
      CANNOT_UPDATE_OLD_BUDGET = 11;
      See Also:
    • CANNOT_END_IN_PAST_VALUE

      public static final int CANNOT_END_IN_PAST_VALUE
       It is not permissible a propose a new budget that ends in the past.
       
      CANNOT_END_IN_PAST = 12;
      See Also:
    • CANNOT_EXTEND_END_TIME_VALUE

      public static final int CANNOT_EXTEND_END_TIME_VALUE
       An expired budget cannot be extended to overlap with the running budget.
       
      CANNOT_EXTEND_END_TIME = 13;
      See Also:
    • PURCHASE_ORDER_NUMBER_REQUIRED_VALUE

      public static final int PURCHASE_ORDER_NUMBER_REQUIRED_VALUE
       A purchase order number is required.
       
      PURCHASE_ORDER_NUMBER_REQUIRED = 14;
      See Also:
    • PENDING_UPDATE_PROPOSAL_EXISTS_VALUE

      public static final int PENDING_UPDATE_PROPOSAL_EXISTS_VALUE
       Budgets that have a pending update cannot be updated.
       
      PENDING_UPDATE_PROPOSAL_EXISTS = 15;
      See Also:
    • MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP_VALUE

      public static final int MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP_VALUE
       Cannot propose more than one budget when the corresponding billing setup
       hasn't been approved.
       
      MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP = 16;
      See Also:
    • CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET_VALUE

      public static final int CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET_VALUE
       Cannot update the start time of a budget that has already started.
       
      CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET = 17;
      See Also:
    • SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED_VALUE

      public static final int SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED_VALUE
       Cannot update the spending limit of a budget with an amount lower than
       what has already been spent.
       
      SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED = 18;
      See Also:
    • UPDATE_IS_NO_OP_VALUE

      public static final int UPDATE_IS_NO_OP_VALUE
       Cannot propose a budget update without actually changing any fields.
       
      UPDATE_IS_NO_OP = 19;
      See Also:
    • END_TIME_MUST_FOLLOW_START_TIME_VALUE

      public static final int END_TIME_MUST_FOLLOW_START_TIME_VALUE
       The end time must come after the start time.
       
      END_TIME_MUST_FOLLOW_START_TIME = 20;
      See Also:
    • BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP_VALUE

      public static final int BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP_VALUE
       The budget's date range must fall within the date range of its billing
       setup.
       
      BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP = 21;
      See Also:
    • NOT_AUTHORIZED_VALUE

      public static final int NOT_AUTHORIZED_VALUE
       The user is not authorized to mutate budgets for the given billing setup.
       
      NOT_AUTHORIZED = 22;
      See Also:
    • INVALID_BILLING_SETUP_VALUE

      public static final int INVALID_BILLING_SETUP_VALUE
       Mutates are not allowed for the given billing setup.
       
      INVALID_BILLING_SETUP = 23;
      See Also:
    • OVERLAPS_EXISTING_BUDGET_VALUE

      public static final int OVERLAPS_EXISTING_BUDGET_VALUE
       Budget creation failed as it overlaps with a pending budget proposal
       or an approved budget.
       
      OVERLAPS_EXISTING_BUDGET = 24;
      See Also:
    • CANNOT_CREATE_BUDGET_THROUGH_API_VALUE

      public static final int CANNOT_CREATE_BUDGET_THROUGH_API_VALUE
       The control setting in user's payments profile doesn't allow budget
       creation through API. Log in to Google Ads to create budget.
       
      CANNOT_CREATE_BUDGET_THROUGH_API = 25;
      See Also:
    • INVALID_MASTER_SERVICE_AGREEMENT_VALUE

      public static final int INVALID_MASTER_SERVICE_AGREEMENT_VALUE
       Master service agreement has not been signed yet for the Payments
       Profile.
       
      INVALID_MASTER_SERVICE_AGREEMENT = 26;
      See Also:
    • CANCELED_BILLING_SETUP_VALUE

      public static final int CANCELED_BILLING_SETUP_VALUE
       Budget mutates are not allowed because the given billing setup is
       canceled.
       
      CANCELED_BILLING_SETUP = 27;
      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 AccountBudgetProposalErrorEnum.AccountBudgetProposalError 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<AccountBudgetProposalErrorEnum.AccountBudgetProposalError> 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 AccountBudgetProposalErrorEnum.AccountBudgetProposalError 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