想分享對 Google Ads API 的意見嗎?
立即註冊,等待受邀參與使用者研究調查!
移除廣告活動預算
移除預算前,請先確認
ENABLED
或
PAUSED
個廣告活動
確認其正在使用該元件
reference_count
。
如果這個欄位大於 0,表示仍有 ENABLED
或 PAUSED
個廣告活動
決定該如何運用這筆預算搜尋指標即可擷取這項資訊
以 campaign_budget
為主要資源下方就是
預算的參考數量 (依 ID 篩選):
SELECT campaign_budget.reference_count
FROM campaign_budget
WHERE campaign_budget.id = campaign_budget_id
當您確定 CampaignBudget
已不再使用,因此可移除,請傳送
remove
。
作業中,包含廣告活動預算的資源名稱。
移除廣告活動時,您也會移除
。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-29 (世界標準時間)。
[null,null,["上次更新時間:2024-08-29 (世界標準時間)。"],[[["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."]]],[]]