Để thảo luận và đưa ra ý kiến phản hồi về các sản phẩm của chúng tôi, hãy tham gia kênh Discord chính thức của Google Ads trong máy chủ Cộng đồng quảng cáo và đo lường của Google.
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Google Ads tự động tạo các đề xuất và đưa ra ý tưởng về cách tối ưu hoá tài khoản của bạn, chẳng hạn như bằng cách tăng ngân sách chiến dịch cho một chiến dịch bị giới hạn hoặc bằng cách thêm từ khoá có liên quan. Xem danh sách đầy đủ các loại đề xuất trong tài liệu về API Google Ads.
Truy xuất đề xuất
Để truy xuất đề xuất, hãy sử dụng bộ chọn AdsApp.recommendations(). Bộ chọn này hoạt động tương tự như các bộ chọn khác trong việc cho phép bạn chỉ định các điều kiện về loại đề xuất cần trả về:
constselector=AdsApp.recommendations().withCondition('recommendation.type IN (CAMPAIGN_BUDGET)');constrecommendations=selector.get();
Áp dụng các đề xuất
Sau khi bạn tìm nạp các đề xuất, hãy áp dụng chúng như sau:
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,["Cập nhật lần gần đây nhất: 2025-08-27 UTC."],[[["\u003cp\u003eGoogle Ads automatically generates recommendations to optimize your account, including suggestions like budget increases and keyword additions.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve specific recommendations using the \u003ccode\u003eAdsApp.recommendations()\u003c/code\u003e selector and filtering by recommendation type.\u003c/p\u003e\n"],["\u003cp\u003eBefore applying a recommendation, ensure it aligns with your campaign goals and advertising policies, especially when adding new keywords.\u003c/p\u003e\n"],["\u003cp\u003eApplying recommendations is done using the \u003ccode\u003eapply()\u003c/code\u003e method after fetching and potentially filtering them.\u003c/p\u003e\n"]]],[],null,["# Recommendations are automatically generated by Google Ads and provide ideas for\nways to optimize your account, such as by increasing campaign budget for a\nlimited campaign or by adding relevant keywords. See the full list of\nrecommendation types in the\n[Google Ads API documentation](/google-ads/api/docs/recommendations#types).\n| **Warning:** When applying recommended keywords from the add new keywords recommendation, advertisers are responsible for ensuring that their ads are compliant with advertising policies after keywords are inserted.\n\nRetrieve recommendations\n------------------------\n\nTo retrieve recommendations, use the `AdsApp.recommendations()` selector,\nwhich works similarly to other selectors in letting you specify conditions on\nwhat types of recommendations to return: \n\n const selector = AdsApp.recommendations()\n .withCondition('recommendation.type IN (CAMPAIGN_BUDGET)');\n const recommendations = selector.get();\n\nApply recommendations\n---------------------\n\nOnce you've fetched the recommendations, apply them like so: \n\n for (const recommendation of recommendations) {\n // Perform whatever check here that works for your use case.\n // You can also potentially skip this step if you've sufficiently narrowed\n // down what recommendations you're selecting initially with customized\n // withCondition clauses in the previous step.\n if (shouldApply(recommendation)) {\n recommendation.apply();\n }\n }"]]