Restrictions and common errors

  • Campaigns with experiments must have their own non-shared budget.

  • A budget that is explicitly shared cannot be changed back to not shared.

  • An account can have a maximum number of budgets, and attempting to exceed this limit will result in an error.

  • A budget associated with active or paused campaigns cannot be removed.

Note the following restrictions and common errors when working with campaign budgets.

Restrictions

  • Any campaign that has campaign experiments enabled must have its own non-shared budget.
  • Demand Gen campaigns require a minimum daily budget of 5 USD (or the local currency equivalent).

Common errors

Error Description
CampaignBudgetError.CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED Indicates that you tried to set the explicitly_shared field of a budget from true to false in an update operation. Once a budget is explicitly shared (explicitly_shared = true), you cannot change explicitly_shared back to false.
ResourceCountLimitExceededError.ACCOUNT_LIMIT Indicates you've reached the maximum number of budgets in an account.
CampaignError.CAMPAIGN_CANNOT_USE_SHARED_BUDGET The campaign to which you're trying to add the budget is using campaign experiments, and the budget is already being used by another campaign.
CampaignBudgetError.CAMPAIGN_BUDGET_IN_USE You're trying to remove a budget associated with one or more active or paused campaigns.
CampaignBudgetError.BUDGET_BELOW_PER_DAY_MINIMUM The budget amount is below the required minimum daily budget (for example, 5 USD for Demand Gen campaigns). The required minimum is returned in ErrorDetails.budget_per_day_minimum_error_details.minimum_budget_amount_micros.
CampaignError.END_DATE_TIME_REQUIRED_FOR_TOTAL_BUDGET A campaign using a campaign total budget (period = CUSTOM_PERIOD) must specify Campaign.end_date_time (and cannot exceed the maximum duration enforced by CampaignError.DURATION_TOO_LONG_FOR_TOTAL_BUDGET).