권장사항

추천은 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();
  }
}