gads_list_bidding_strategies
Google Ads read low risk
Part of the Bidding Agent.
What it does
List portfolio bidding strategies via GAQL on bidding_strategy: returns name, ID/resource name, type, targets (target_cpa micros/1e6 account currency, target_roas as a ratio), status, and campaign_count (how many campaigns use it). Read-only. Money targets converted from micros; figures reconcile to the Google Ads UI Shared Library > Bid strategies within +/-1%. Standard (campaign-embedded) strategies are NOT listed here. Returns {success, data:[...], count, warnings}.
When to use it
When the user asks what portfolio bidding strategies exist and which campaigns use them.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
customer_id | string | yes | 10-digit CID, dashes stripped. |
type_filter | string | no | Optional enum filter (TARGET_CPA/TARGET_ROAS/TARGET_SPEND/TARGET_IMPRESSION_SHARE/MAXIMIZE_CONVERSIONS/MAXIMIZE_CONVERSION_VALUE), normalized. |
limit | integer | no | GAQL LIMIT cap. |
Safeguards
Policy
Read-only; no write-policy risk. Present CPA targets in account currency and ROAS as a ratio, never raw micros.
Reminder
Do not retain strategy/account data beyond the current request.
Errors
| Error class | Means | What to do | Retry |
|---|---|---|---|
CUSTOMER_NOT_FOUND | Account not found/linked. | Verify CID/authorization. | no |
TOKEN_REVOKED | Authorization expired/revoked. | needs_reauth. | no |
INVALID_ARGUMENT | Bad GAQL/filter (e.g. invalid type enum). | Surface Google's message; fix the query. | no |
PERMISSION_DENIED | Lacks read access / out of bearer scope. | Confirm role/scope. | no |
RESOURCE_EXHAUSTED | Rate/quota limit (HTTP 429). | Backoff 5/10/20s cap 60s; honor retryDelay. | yes |
INTERNAL_ERROR | Transient 5xx. | Retry once after backoff. | yes |
Edge cases
- No portfolio strategies -> success count:0 (campaigns may still use standard/embedded strategies, which don't appear here).
- campaign_count=0 -> unused strategy; flag for cleanup.
- target_cpa_micros -> /1e6 with currency; target_roas stays a ratio.
- Standard (campaign-embedded) strategies are not listed by this resource -> note the distinction.
- Truncation by limit -> warn to narrow.
- Expired token -> refresh once and retry.