SCALIX help

← All tools

gads_list_recommendations

Google Ads read low risk

Part of the Recommendations Agent.

What it does

List Google's active optimization recommendations for the account (type, estimated impact, dismissed state). SCALIX SOP: recommendations are REVIEW-ONLY — every row is returned with scalix_status='Review only — do not auto-apply' and a warning states that Scalix never auto-applies them. There is no apply path in this tool. Acting on a recommendation is a separate, logged decision made through the relevant write tool.

When to use it

When the user asks what Google recommends (the Recommendations feed). Read-only review, e.g. before a weekly call. Investigate a suggestion with the matching report tool, then act deliberately through the relevant write tool with a logged rationale.

Inputs

NameTypeRequiredDescription
customer_idstringyesAccount to read recommendations for, 10 digits, dashes stripped. Must be a client (non-manager) account.
recommendation_typesstringnoOptional comma-separated filter on recommendation.type (one string, not a list), e.g. 'KEYWORD,CAMPAIGN_BUDGET,RESPONSIVE_SEARCH_AD'; upper-cased. Builds a type IN (...) clause.
include_dismissedbooleannoDefault false. When false, adds 'recommendation.dismissed = FALSE'. Set true to also list previously-dismissed recommendations.
manager_idstringnoManager (MCC) login-customer-id, dashes stripped, only when reaching the target through a manager.

Safeguards

Policy

Read-only listing under the adwords scope. Surfacing a recommendation is NOT acting on it - never auto-apply; any apply/dismiss must be previewed and explicitly approved. Recommendations that would create/alter ad copy or new structures still carry editorial/Misrepresentation risk at apply-time and must never be used to recreate disapproved content or circumvent enforcement (Circumventing Systems = egregious, immediate suspension). Bound to the account tenant context and Postgres RLS.

Reminder

Impact numbers are Google's projections, not guaranteed results; listing only - applying is a separate approved write; don't retain beyond this request.

Errors

Error classMeansWhat to doRetry
MANAGER_ACCOUNT_NOT_QUERYABLEThe recommendation resource is not available on a manager (MCC) account.Use gads_get_account_hierarchy to find a client account, then re-run with that customer_id and manager_id.no
CUSTOMER_NOT_FOUNDThe customer_id does not exist or is unreachable with these credentials.Verify via accessible-customers/hierarchy; refresh token or prompt re-auth if previously reachable.no
TOKEN_REVOKEDOAuth token expired/invalid/revoked (UNAUTHENTICATED / OAUTH_TOKEN_REVOKED).Refresh once and retry; else prompt re-authorization (needs_reauth).yes
PERMISSION_DENIEDAuthorizationError.USER_PERMISSION_DENIED - user lacks access to this account's recommendations.Confirm access; do not retry with another account.no
INVALID_ARGUMENTAn invalid recommendation.type enum or malformed campaign filter was supplied (QueryError).Surface the platform message; re-normalize the type enum or campaign resource name and retry.no
RESOURCE_EXHAUSTEDDaily-operations quota exceeded (QuotaError, HTTP 429).If daily cap, stop until reset; else backoff 5/10/20s (cap 60s), then retry.yes
RESOURCE_TEMPORARILY_EXHAUSTEDPer-second QPS rate limit hit (HTTP 429).Backoff 5/10/20s (cap 60s), then retry; throttle concurrency.yes
PLATFORM_UNAVAILABLEGoogle internal/transient error (HTTP 5xx).Retry with backoff; report transient outage if persistent.yes

Edge cases

  • No active recommendations -> success:true, count:0, data:[], by_type:{} - a well-optimized (or brand-new/low-traffic) account legitimately has none.
  • impact.base_metrics/potential_metrics cost is micros -> divide by 1e6 and label currency; base vs potential are current vs projected, not before/after fact.
  • Recommendations are dynamic -> a resource_name listed now may be stale by apply-time; the apply write tool must re-fetch/re-preview, never apply a cached id blindly.
  • CAMPAIGN_BUDGET / shared-budget recommendations can affect multiple campaigns at once -> note the blast radius before any approval.
  • Some types carry no impact metrics (e.g. opt-in types) -> impact may be absent; do not fabricate projected numbers.
  • include_dismissed=false (default) hides dismissed items; counts reflect only active recommendations.
  • Manager/MCC customer_id -> mapped to MANAGER_ACCOUNT_NOT_QUERYABLE before querying.
  • Expired token -> refresh once and retry before surfacing needs_reauth.