Las recomendaciones se generan automáticamente por Google Ads y ofrecen ideas para
maneras de optimizar tu cuenta, por ejemplo, aumentando el presupuesto de la campaña para una
una campaña limitada o agregando palabras clave relevantes. Consulta la lista completa de
tipos de recomendaciones
Documentación de la API de Google Ads
Cómo recuperar recomendaciones
Para recuperar recomendaciones, usa el selector AdsApp.recommendations(), que funciona de manera similar a otros selectores, ya que te permite especificar condiciones sobre los tipos de recomendaciones que se mostrarán:
constselector=AdsApp.recommendations().withCondition('recommendation.type IN (CAMPAIGN_BUDGET)');constrecommendations=selector.get();
Cómo aplicar recomendaciones
Una vez que hayas recuperado las recomendaciones, aplícalas de la siguiente manera:
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,["Última actualización: 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."]]],[]]