Google Ads จะสร้างคําแนะนําโดยอัตโนมัติและให้แนวคิดเกี่ยวกับวิธีเพิ่มประสิทธิภาพบัญชี เช่น การเพิ่มงบประมาณแคมเปญสําหรับแคมเปญแบบจํากัด หรือการเพิ่มคีย์เวิร์ดที่เกี่ยวข้อง ดูรายการประเภทคําแนะนําทั้งหมดในเอกสารประกอบของ Google Ads API
constselector=AdsApp.recommendations().withCondition('recommendation.type IN (CAMPAIGN_BUDGET)');constrecommendations=selector.get();
ใช้คำแนะนำ
เมื่อดึงข้อมูลคำแนะนำแล้ว ให้ใช้คำแนะนำดังนี้
for(constrecommendationofrecommendations){// 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();}}
[null,null,["อัปเดตล่าสุด 2025-03-04 UTC"],[[["Google Ads automatically generates recommendations to optimize your account, including suggestions like budget increases and keyword additions."],["You can retrieve specific recommendations using the `AdsApp.recommendations()` selector and filtering by recommendation type."],["Before applying a recommendation, ensure it aligns with your campaign goals and advertising policies, especially when adding new keywords."],["Applying recommendations is done using the `apply()` method after fetching and potentially filtering them."]]],[]]