有兴趣分享您对 Google Ads API 的反馈吗?
注册即可获邀参与用户调研!
移除广告系列预算
在移除预算之前,请检查其reference_count
,确保没有 ENABLED
或 PAUSED
广告系列在使用该预算。如果此字段大于 0,则表示仍有 ENABLED
或 PAUSED
广告系列在使用该预算。您可以通过搜索以 campaign_budget
作为主要资源的指标来检索此信息。以下是用于查询预算引用计数的 GAQL 查询,会按 ID 进行过滤:
SELECT campaign_budget.reference_count
FROM campaign_budget
WHERE campaign_budget.id = campaign_budget_id
确定某个 CampaignBudget
不再使用且可以移除后,请发送包含广告系列预算资源名称的 remove
操作。
移除广告系列后,您还会移除该广告系列使用的所有非共享预算。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-02-26。
[null,null,["最后更新时间 (UTC):2025-02-26。"],[[["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."]]],[]]