Enum googapis::google::ads::googleads::v9::errors::account_budget_proposal_error_enum::AccountBudgetProposalError [−][src]
#[repr(i32)]
pub enum AccountBudgetProposalError {
Show 26 variants
Unspecified,
Unknown,
FieldMaskNotAllowed,
ImmutableField,
RequiredFieldMissing,
CannotCancelApprovedProposal,
CannotRemoveUnapprovedBudget,
CannotRemoveRunningBudget,
CannotEndUnapprovedBudget,
CannotEndInactiveBudget,
BudgetNameRequired,
CannotUpdateOldBudget,
CannotEndInPast,
CannotExtendEndTime,
PurchaseOrderNumberRequired,
PendingUpdateProposalExists,
MultipleBudgetsNotAllowedForUnapprovedBillingSetup,
CannotUpdateStartTimeForStartedBudget,
SpendingLimitLowerThanAccruedCostNotAllowed,
UpdateIsNoOp,
EndTimeMustFollowStartTime,
BudgetDateRangeIncompatibleWithBillingSetup,
NotAuthorized,
InvalidBillingSetup,
OverlapsExistingBudget,
CannotCreateBudgetThroughApi,
}
Expand description
Enum describing possible account budget proposal errors.
Variants
Enum unspecified.
The received error code is not known in this version.
The field mask must be empty for create/end/remove proposals.
The field cannot be set because of the proposal type.
The field is required because of the proposal type.
Proposals that have been approved cannot be cancelled.
Budgets that haven’t been approved cannot be removed.
Budgets that are currently running cannot be removed.
Budgets that haven’t been approved cannot be truncated.
Only budgets that are currently running can be truncated.
All budgets must have names.
Expired budgets cannot be edited after a sufficient amount of time has passed.
It is not permissible a propose a new budget that ends in the past.
An expired budget cannot be extended to overlap with the running budget.
A purchase order number is required.
Budgets that have a pending update cannot be updated.
Cannot propose more than one budget when the corresponding billing setup hasn’t been approved.
Cannot update the start time of a budget that has already started.
Cannot update the spending limit of a budget with an amount lower than what has already been spent.
Cannot propose a budget update without actually changing any fields.
The end time must come after the start time.
The budget’s date range must fall within the date range of its billing setup.
The user is not authorized to mutate budgets for the given billing setup.
Mutates are not allowed for the given billing setup.
Budget creation failed as it overlaps with an pending budget proposal or an approved budget.
The control setting in user’s payments profile doesn’t allow budget creation through API. Log in to Google Ads to create budget.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for AccountBudgetProposalError
impl Send for AccountBudgetProposalError
impl Sync for AccountBudgetProposalError
impl Unpin for AccountBudgetProposalError
impl UnwindSafe for AccountBudgetProposalError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more