Programmatically apply or dismiss Google Ads API optimization recommendations

domain: advertising · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Query the recommendation resource via GAQL (recommendation.resource_name, recommendation.type, recommendation.impact) filtered by campaign or account
  2. Inspect the type-specific sub-message (e.g. campaign_budget_recommendation) to read the suggested value before deciding whether to accept it
  3. To accept, build an ApplyRecommendationOperation referencing the recommendation resource name, optionally overriding fields via apply_parameters, and call RecommendationService.ApplyRecommendation
  4. To reject, build a DismissRecommendationOperation with the same resource name and call RecommendationService.DismissRecommendation
  5. For recurring recommendation types, consider RecommendationSubscriptionService to auto-apply future instances instead of handling each occurrence manually
  6. Re-run the GAQL query after mutation to confirm the recommendation no longer appears in the active list

Known gotchas

Related routes

Submit Google Ads conversion adjustments
developers.google.com/google-ads/api · 6 steps · unrated
diagnose performance max asset group and combination reporting limitations in the google ads api
developers.google.com/google-ads/api · 5 steps · unrated
Create a Google Ads Performance Max campaign via the API
developers.google.com/google-ads/api · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans