CampaignBudgetError

  • This enum describes possible errors related to campaign budgets.

  • Errors can occur if a budget is not shared, has been removed, or is still in use by a campaign.

  • Issues arise with implicitly shared budgets regarding modifications, updating to explicitly shared, and use with multiple campaigns.

  • Money amount errors include incorrect currency, being less than the minimum CPC, being too large, negative, or not a multiple of the minimum unit.

  • Budget period and delivery mode constraints can also cause errors.

Enum describing possible campaign budget errors.

Enums

UNSPECIFIED

Enum unspecified.

UNKNOWN

The received error code is not known in this version.

CAMPAIGN_BUDGET_CANNOT_BE_SHARED

The campaign budget cannot be shared.

CAMPAIGN_BUDGET_REMOVED

The requested campaign budget no longer exists.

CAMPAIGN_BUDGET_IN_USE

The campaign budget is associated with at least one campaign, and so the campaign budget cannot be removed.

CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE

Customer is not on the allow-list for this campaign budget period.

CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET

This field is not mutable on implicitly shared campaign budgets

CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED

Cannot change explicitly shared campaign budgets back to implicitly shared ones.

CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME

An implicit campaign budget without a name cannot be changed to explicitly shared campaign budget.

CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED

Cannot change an implicitly shared campaign budget to an explicitly shared one.

CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS

Only explicitly shared campaign budgets can be used with multiple campaigns.

DUPLICATE_NAME

A campaign budget with this name already exists.

MONEY_AMOUNT_IN_WRONG_CURRENCY

A money amount was not in the expected currency.

MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC

A money amount was less than the minimum CPC for currency.

MONEY_AMOUNT_TOO_LARGE

A money amount was greater than the maximum allowed.

NEGATIVE_MONEY_AMOUNT

A money amount was negative.

NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT

A money amount was not a multiple of a minimum unit.

TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY

Total budget amount must be unset when BudgetPeriod is DAILY.

INVALID_PERIOD

The period of the budget is not allowed.

CANNOT_USE_ACCELERATED_DELIVERY_MODE

Cannot use accelerated delivery method on this budget.

BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD

Budget amount must be unset when BudgetPeriod is CUSTOM.

BUDGET_BELOW_PER_DAY_MINIMUM

Budget amount or total amount must be above this campaign's per-day minimum. See the error's details.budget_per_day_minimum_error_details field for more information.