Rekomendasi dibuat secara otomatis oleh Google Ads dan memberikan ide tentang
cara mengoptimalkan akun Anda, seperti dengan meningkatkan anggaran kampanye untuk
kampanye terbatas atau dengan menambahkan kata kunci yang relevan. Lihat daftar lengkap
jenis rekomendasi di
dokumentasi Google Ads API.
Mengambil rekomendasi
Untuk mengambil rekomendasi, gunakan pemilih AdsApp.recommendations(),
yang berfungsi mirip dengan pemilih lain dalam memungkinkan Anda menentukan kondisi tentang
jenis rekomendasi yang akan ditampilkan:
constselector=AdsApp.recommendations().withCondition('recommendation.type IN (CAMPAIGN_BUDGET)');constrecommendations=selector.get();
Menerapkan rekomendasi
Setelah Anda mengambil rekomendasi, terapkan rekomendasi seperti ini:
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,["Terakhir diperbarui pada 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."]]],[]]