gads_list_user_lists
Google Ads read low risk
Part of the Google Ads Audience Agent.
What it does
List user lists (audiences) in the account via GAQL on user_list — covers CRM-based (customer match), rule-based remarketing, similar/lookalike, logical, and external lists. Returns id, name, description, type, membership_status, membership_life_span, size_for_display, size_for_search, eligible_for_display, eligible_for_search. Read-only, no money/metrics. size_for_* are estimated audience sizes (integers, not micros). Optional type filter (enum-normalized). Default LIMIT 200; results capped — narrow with list_type if truncated.
When to use it
When the user asks what audiences, remarketing lists, or customer-match lists exist and how big they are.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
customer_id | string | yes | 10-digit CID; strip dashes. |
list_type | string | no | Optional enum filter, normalized to upper: CRM_BASED, RULE_BASED, REMARKETING, SIMILAR, LOOKALIKE, LOGICAL, EXTERNAL_REMARKETING. CUSTOMER_MATCH maps to CRM_BASED. |
limit | integer | no | Max rows (default 200, hard cap ~5000). Narrow with list_type if you hit the cap. |
manager_id | string | no | Optional MCC login-customer-id. |
Safeguards
Policy
Audience sizes and membership are reported by Google; do not infer or expose any individual membership. List metadata only — never attempt to enumerate members.
Reminder
Report only Google-returned list metadata; never expose or retain individual membership data.
Errors
| Error class | Means | What to do | Retry |
|---|---|---|---|
INVALID_ARGUMENT | Invalid list_type enum in the filter. | Use a supported enum; surface the platform message. | no |
TOKEN_REVOKED | OAuth token expired/revoked. | Refresh and retry once; else prompt reconnect (needs_reauth). | yes |
CUSTOMER_NOT_FOUND | Customer ID not found/accessible. | Verify the CID is authorized. | no |
PERMISSION_DENIED | No access or out-of-bearer-scope read. | Confirm read access; else refuse. | no |
MANAGER_ACCOUNT_NOT_QUERYABLE | Queried an MCC for account-level lists that may not exist there. | Query the specific client account CID. | no |
RESOURCE_EXHAUSTED | Rate/quota exceeded (HTTP 429). | Backoff 5/10/20s cap 60s, then retry. | yes |
INTERNAL_ERROR | Transient Google server error (5xx). | Retry after backoff. | yes |
Edge cases
- No lists -> return success with count:0 and empty array (not an error).
- Results truncated at LIMIT -> tell the caller to filter by list_type or raise limit.
- size_for_display/search of 0 means not-yet-populated or below reporting threshold, not necessarily empty.
- CRM_BASED lists still appear even when new member uploads via the Ads API are unavailable for inactive developer tokens (see gads_add_customer_match_members).
- Expired token -> refresh once and retry.