Enum AccountBudgetProposalErrorEnum.AccountBudgetProposalError

    • 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
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • BUDGET_NAME_REQUIRED_VALUE

        public static final int BUDGET_NAME_REQUIRED_VALUE
         All budgets must have names.
         
        BUDGET_NAME_REQUIRED = 10;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • OVERLAPS_EXISTING_BUDGET_VALUE

        public static final int OVERLAPS_EXISTING_BUDGET_VALUE
         Budget creation failed as it overlaps with an pending budget proposal
         or an approved budget.
         
        OVERLAPS_EXISTING_BUDGET = 24;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
    • Method Detail

      • values

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

        public static AccountBudgetProposalErrorEnum.AccountBudgetProposalError 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 AccountBudgetProposalErrorEnum.AccountBudgetProposalError 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
      • 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 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