建议由 Google Ads 自动生成, 优化账号的方式,例如为达到特定目标的 限制广告系列的部分,或者添加相关关键字。查看完整列表 建议类型 Google Ads API 文档。
检索推荐内容
如需检索推荐内容,请使用 AdsApp.recommendations()
选择器。
其工作原理与其他选择器类似
要返回的建议类型:
const selector = AdsApp.recommendations()
.withCondition('recommendation.type IN (CAMPAIGN_BUDGET)');
const recommendations = selector.get();
采纳建议
提取建议后,请按如下方式采纳建议:
for (const recommendation of recommendations) {
// Perform whatever check here that works for your use case.
// You can also potentially skip this step if you've sufficiently narrowed
// down what recommendations you're selecting initially with customized
// withCondition clauses in the previous step.
if (shouldApply(recommendation)) {
recommendation.apply();
}
}