Các đề xuất do Google Ads tự động tạo và cung cấp các ý tưởng để
nhiều 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 giới hạn hoặc bằng cách thêm các từ khoá phù hợp. Xem toàn bộ danh sách
các loại đề xuất trong
Tài liệu về API Google Ads.
Truy xuất các đề xuất
Để truy xuất các đề xuất, hãy sử dụng bộ chọn AdsApp.recommendations().
Phương thức này hoạt động tương tự như các bộ chọn khác ở chỗ cho phép bạn chỉ định các điều kiện trên
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 tìm nạp các đề xuất, hãy áp dụng các đề xuất đó 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-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."]]],[]]