gads_get_asset_group
Google Ads read low risk
Part of the Performance Max Agent.
What it does
Fetch a single Performance Max asset group's full configuration and asset coverage via GAQL on asset_group + asset_group_asset: name, status, final URLs, paths, ad_strength, primary_status + primary_status_reasons, and the list of linked assets grouped by field_type (headlines, descriptions, images, logos, videos, business name). Returns {asset_group, assets_by_field_type, ad_strength, primary_status, missing_required_fields}. Accuracy: ad_strength and primary_status come straight from the API and mirror the UI; missing_required_fields is computed from PMax minimums so the agent can see exactly why a group is limited/not-serving. No micros. Read-only. The linked-assets lookup is best-effort: on failure the asset_group row still returns with a degradation warning and empty assets_by_field_type.
When to use it
When the user asks to inspect one Performance Max asset group — its assets grouped by type, ad strength, or why it is limited/not eligible.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
customer_id | string | yes | 10-digit CID; strip dashes. |
asset_group_id | string | yes | Asset group ID. Provide this |
Safeguards
Policy
Read-only; surfaces primary_status/policy reasons. Do not suggest recreating disapproved assets to bypass review (Circumventing Systems = egregious).
Reminder
Match the Google Ads UI exactly (ad strength, status); account-isolated; nothing retained beyond this request.
Errors
| Error class | Means | What to do | Retry |
|---|---|---|---|
NOT_FOUND | Asset group ID/resource not found in the account. | Verify the ID via gads_list_asset_groups. | no |
CUSTOMER_NOT_FOUND | CID invalid/inaccessible. | Verify CID; if revoked set needs_reauth. | no |
TOKEN_REVOKED | Token revoked/expired. | Set needs_reauth; prompt reconnect. | no |
INVALID_ARGUMENT | Neither id nor resource_name supplied. | Require one identifier. | no |
RESOURCE_EXHAUSTED | Quota/QPS exceeded (HTTP 429). | Backoff 5/10/20s cap 60s, retry once. | yes |
PLATFORM_UNAVAILABLE | Backend 5xx/INTERNAL. | Retry once after backoff. | yes |
Edge cases
- Group with no assets -> returns empty assets_by_field_type and full missing_required_fields list.
- ad_strength values: POOR/AVERAGE/GOOD/EXCELLENT/PENDING/UNSPECIFIED — surface PENDING distinctly.
- primary_status REMOVED/NOT_ELIGIBLE with reasons -> relay reasons verbatim.
- brand_guidelines_enabled -> business name/logo appear as CampaignAsset, not in this group; note where they live.
- Resource exists but campaign not PMax -> shouldn't occur, but report cleanly if so.