권장사항

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