List keywords with performance
get_keywordsLists positive keywords (including PAUSED, never REMOVED) with performance for the last N complete days. text uses Google notation: "phrase", [exact], broad as bare words; also match_type, status, quality_score (1-10, null if not enough data), max_cpc, campaign, ad_group, and impressions, clicks, cost, conversions, conversions_value, ctr, average_cpc. Filter with status (ENABLED or PAUSED), match_type (EXACT, PHRASE or BROAD) and text_contains (case-insensitive, ignores the quotes and brackets). compact=true returns only keyword id, text, status, campaign and ad group. Optionally limit to one campaign or one ad group. Sorted by cost descending (compact: by ad group, then id). Paginated via cursor. Negative keywords are in get_negative_keywords.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Reporting window in whole days in the account's time zone, excluding today: 1 to 30. Default 7. Short windows hold little data, and conversions from the most recent days may not be reported yet. | |
| limit | No | Page size, 1-200. Default 50. | |
| cursor | No | Opaque next_cursor from the previous page. Keep the other arguments identical. | |
| status | No | ENABLED or PAUSED. Omit to list both. | |
| compact | No | When true, each keyword is only id, text, status, campaign and ad group. | |
| match_type | No | EXACT, PHRASE or BROAD. Omit to list all match types. | |
| ad_group_id | No | Optional ad group id (from get_ad_groups) to limit results to one ad group. | |
| campaign_id | No | Optional campaign id (from get_campaigns) to limit results to one campaign. | |
| customer_id | Yes | Google Ads customer ID from get_accounts, e.g. 123-456-7890. | |
| text_contains | No | Case-insensitive substring of the keyword text. |