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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe budget's date range must fall within the date range of its billing setup.All budgets must have names.Budget mutates are not allowed because the given billing setup is canceled.Proposals that have been approved cannot be cancelled.The control setting in user's payments profile doesn't allow budget creation through API.It is not permissible a propose a new budget that ends in the past.Only budgets that are currently running can be truncated.Budgets that haven't been approved cannot be truncated.An expired budget cannot be extended to overlap with the running budget.Budgets that are currently running cannot be removed.Budgets that haven't been approved cannot be removed.Expired budgets cannot be edited after a sufficient amount of time has passed.Cannot update the start time of a budget that has already started.The end time must come after the start time.The field mask must be empty for create/end/remove proposals.The field cannot be set because of the proposal type.Mutates are not allowed for the given billing setup.Master service agreement has not been signed yet for the Payments Profile.Cannot propose more than one budget when the corresponding billing setup hasn't been approved.The user is not authorized to mutate budgets for the given billing setup.Budget creation failed as it overlaps with a pending budget proposal or an approved budget.Budgets that have a pending update cannot be updated.A purchase order number is required.The field is required because of the proposal type.Cannot update the spending limit of a budget with an amount lower than what has already been spent.The received error code is not known in this version.Enum unspecified.Cannot propose a budget update without actually changing any fields. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe budget's date range must fall within the date range of its billing setup.static final intAll budgets must have names.static final intBudget mutates are not allowed because the given billing setup is canceled.static final intProposals that have been approved cannot be cancelled.static final intThe control setting in user's payments profile doesn't allow budget creation through API.static final intIt is not permissible a propose a new budget that ends in the past.static final intOnly budgets that are currently running can be truncated.static final intBudgets that haven't been approved cannot be truncated.static final intAn expired budget cannot be extended to overlap with the running budget.static final intBudgets that are currently running cannot be removed.static final intBudgets that haven't been approved cannot be removed.static final intExpired budgets cannot be edited after a sufficient amount of time has passed.static final intCannot update the start time of a budget that has already started.static final intThe end time must come after the start time.static final intThe field mask must be empty for create/end/remove proposals.static final intThe field cannot be set because of the proposal type.static final intMutates are not allowed for the given billing setup.static final intMaster service agreement has not been signed yet for the Payments Profile.static final intCannot propose more than one budget when the corresponding billing setup hasn't been approved.static final intThe user is not authorized to mutate budgets for the given billing setup.static final intBudget creation failed as it overlaps with a pending budget proposal or an approved budget.static final intBudgets that have a pending update cannot be updated.static final intA purchase order number is required.static final intThe field is required because of the proposal type.static final intCannot update the spending limit of a budget with an amount lower than what has already been spent.static final intThe received error code is not known in this version.static final intEnum unspecified.static final intCannot propose a budget update without actually changing any fields. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AccountBudgetProposalErrorEnum.AccountBudgetProposalError>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0; -
UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1; -
FIELD_MASK_NOT_ALLOWED
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError FIELD_MASK_NOT_ALLOWEDThe field mask must be empty for create/end/remove proposals.
FIELD_MASK_NOT_ALLOWED = 2; -
IMMUTABLE_FIELD
The field cannot be set because of the proposal type.
IMMUTABLE_FIELD = 3; -
REQUIRED_FIELD_MISSING
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError REQUIRED_FIELD_MISSINGThe field is required because of the proposal type.
REQUIRED_FIELD_MISSING = 4; -
CANNOT_CANCEL_APPROVED_PROPOSAL
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANNOT_CANCEL_APPROVED_PROPOSALProposals that have been approved cannot be cancelled.
CANNOT_CANCEL_APPROVED_PROPOSAL = 5; -
CANNOT_REMOVE_UNAPPROVED_BUDGET
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANNOT_REMOVE_UNAPPROVED_BUDGETBudgets that haven't been approved cannot be removed.
CANNOT_REMOVE_UNAPPROVED_BUDGET = 6; -
CANNOT_REMOVE_RUNNING_BUDGET
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANNOT_REMOVE_RUNNING_BUDGETBudgets that are currently running cannot be removed.
CANNOT_REMOVE_RUNNING_BUDGET = 7; -
CANNOT_END_UNAPPROVED_BUDGET
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANNOT_END_UNAPPROVED_BUDGETBudgets that haven't been approved cannot be truncated.
CANNOT_END_UNAPPROVED_BUDGET = 8; -
CANNOT_END_INACTIVE_BUDGET
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANNOT_END_INACTIVE_BUDGETOnly budgets that are currently running can be truncated.
CANNOT_END_INACTIVE_BUDGET = 9; -
BUDGET_NAME_REQUIRED
All budgets must have names.
BUDGET_NAME_REQUIRED = 10; -
CANNOT_UPDATE_OLD_BUDGET
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANNOT_UPDATE_OLD_BUDGETExpired budgets cannot be edited after a sufficient amount of time has passed.
CANNOT_UPDATE_OLD_BUDGET = 11; -
CANNOT_END_IN_PAST
It is not permissible a propose a new budget that ends in the past.
CANNOT_END_IN_PAST = 12; -
CANNOT_EXTEND_END_TIME
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANNOT_EXTEND_END_TIMEAn expired budget cannot be extended to overlap with the running budget.
CANNOT_EXTEND_END_TIME = 13; -
PURCHASE_ORDER_NUMBER_REQUIRED
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError PURCHASE_ORDER_NUMBER_REQUIREDA purchase order number is required.
PURCHASE_ORDER_NUMBER_REQUIRED = 14; -
PENDING_UPDATE_PROPOSAL_EXISTS
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError PENDING_UPDATE_PROPOSAL_EXISTSBudgets that have a pending update cannot be updated.
PENDING_UPDATE_PROPOSAL_EXISTS = 15; -
MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUPCannot propose more than one budget when the corresponding billing setup hasn't been approved.
MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP = 16; -
CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGETCannot update the start time of a budget that has already started.
CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET = 17; -
SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWEDCannot 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; -
UPDATE_IS_NO_OP
Cannot propose a budget update without actually changing any fields.
UPDATE_IS_NO_OP = 19; -
END_TIME_MUST_FOLLOW_START_TIME
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError END_TIME_MUST_FOLLOW_START_TIMEThe end time must come after the start time.
END_TIME_MUST_FOLLOW_START_TIME = 20; -
BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUPThe budget's date range must fall within the date range of its billing setup.
BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP = 21; -
NOT_AUTHORIZED
The user is not authorized to mutate budgets for the given billing setup.
NOT_AUTHORIZED = 22; -
INVALID_BILLING_SETUP
Mutates are not allowed for the given billing setup.
INVALID_BILLING_SETUP = 23; -
OVERLAPS_EXISTING_BUDGET
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError OVERLAPS_EXISTING_BUDGETBudget creation failed as it overlaps with a pending budget proposal or an approved budget.
OVERLAPS_EXISTING_BUDGET = 24; -
CANNOT_CREATE_BUDGET_THROUGH_API
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANNOT_CREATE_BUDGET_THROUGH_APIThe 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; -
INVALID_MASTER_SERVICE_AGREEMENT
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError INVALID_MASTER_SERVICE_AGREEMENTMaster service agreement has not been signed yet for the Payments Profile.
INVALID_MASTER_SERVICE_AGREEMENT = 26; -
CANCELED_BILLING_SETUP
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANCELED_BILLING_SETUPBudget mutates are not allowed because the given billing setup is canceled.
CANCELED_BILLING_SETUP = 27; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEEnum unspecified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe 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_VALUEThe 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_VALUEThe 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_VALUEThe 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_VALUEProposals 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_VALUEBudgets 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_VALUEBudgets 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_VALUEBudgets 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_VALUEOnly 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_VALUEAll budgets must have names.
BUDGET_NAME_REQUIRED = 10;- See Also:
-
CANNOT_UPDATE_OLD_BUDGET_VALUE
public static final int CANNOT_UPDATE_OLD_BUDGET_VALUEExpired 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_VALUEIt 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_VALUEAn 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_VALUEA 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_VALUEBudgets 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_VALUECannot 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_VALUECannot 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_VALUECannot 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_VALUECannot 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_VALUEThe 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_VALUEThe 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_VALUEThe 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_VALUEMutates 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_VALUEBudget 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_VALUEThe 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_VALUEMaster 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_VALUEBudget 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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static AccountBudgetProposalErrorEnum.AccountBudgetProposalError valueOf(int value) 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 nameNullPointerException- if the argument is null
-
forNumber
- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-