예산을 삭제하기 전에 reference_count을 확인하여 ENABLED 또는 PAUSED 캠페인에서 예산을 사용하고 있지 않은지 확인합니다.
이 필드가 0보다 크면 예산을 아직 사용 중인 ENABLED 또는 PAUSED 캠페인이 있습니다. campaign_budget를 기본 리소스로 사용하여 측정항목을 검색하면 이 정보를 가져올 수 있습니다. 다음은 ID를 기준으로 필터링된 예산의 참조 수에 대한 GAQL 쿼리입니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-05(UTC)"],[[["\u003cp\u003eBefore removing a budget, ensure no active or paused campaigns are using it by checking its \u003ccode\u003ereference_count\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIf the \u003ccode\u003ereference_count\u003c/code\u003e is greater than 0, retrieve information using a GAQL query with \u003ccode\u003ecampaign_budget\u003c/code\u003e as the main resource.\u003c/p\u003e\n"],["\u003cp\u003eTo remove an unused \u003ccode\u003eCampaignBudget\u003c/code\u003e, send a \u003ccode\u003eremove\u003c/code\u003e operation with the resource name of the campaign budget.\u003c/p\u003e\n"],["\u003cp\u003eRemoving a campaign also removes any non-shared budget associated with it.\u003c/p\u003e\n"]]],[],null,["# Remove a Campaign Budget\n\nBefore removing a budget, ensure that no\n[`ENABLED`](/google-ads/api/reference/rpc/v21/CampaignStatusEnum.CampaignStatus#enabled) or\n[`PAUSED`](/google-ads/api/reference/rpc/v21/CampaignStatusEnum.CampaignStatus#paused) campaigns\nare using it by checking its\n[`reference_count`](/google-ads/api/reference/rpc/v21/CampaignBudget#reference_count).\nIf this field is greater than 0, there are `ENABLED` or `PAUSED` campaigns still\nusing the budget. You can retrieve this information by searching for metrics\nwith `campaign_budget` as the main resource. Here is the GAQL query for the\nreference count of a budget, filtering on its ID: \n\n SELECT campaign_budget.reference_count\n FROM campaign_budget\n WHERE campaign_budget.id = \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-n\"\u003ecampaign_budget_id\u003c/span\u003e\u003c/var\u003e\n\nOnce you've determined that a [`CampaignBudget`](/google-ads/api/reference/rpc/v21/CampaignBudget)\nis no longer used and can be removed, send a\n[`remove`](/google-ads/api/reference/rpc/v21/CampaignBudgetOperation#remove)\noperation with the resource name of the campaign budget.\n\nWhen removing a campaign, you're also removing any non-shared budget being\nused by that campaign."]]