Stay organized with collections
Save and categorize content based on your preferences.
Before removing a budget, ensure that no
ENABLED or
PAUSED campaigns
are using it by checking its
reference_count.
If this field is greater than 0, there are ENABLED or PAUSED campaigns still
using the budget. You can retrieve this information by searching for metrics
with campaign_budget as the main resource. Here is the GAQL query for the
reference count of a budget, filtering on its ID:
Once you've determined that a CampaignBudget
is no longer used and can be removed, send a
remove
operation with the resource name of the campaign budget.
When removing a campaign, you're also removing any non-shared budget being
used by that campaign.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[[["Before removing a budget, ensure no active or paused campaigns are using it by checking its `reference_count`."],["If the `reference_count` is greater than 0, retrieve information using a GAQL query with `campaign_budget` as the main resource."],["To remove an unused `CampaignBudget`, send a `remove` operation with the resource name of the campaign budget."],["Removing a campaign also removes any non-shared budget associated with it."]]],[]]