google_ads_keywords_add
Add one or more keyword criteria to a Google Ads ad group. Returns created criterion IDs. Duplicate text and match type pairs are rejected. Supports rollback via rollback_apply which pauses keywords instead of removing them.
Instructions
Adds one or more keyword criteria to a single ad group. Returns the created criterion_ids keyed by their input position. Mutating, reversible via rollback_apply (rollback pauses the keywords rather than removing them). Duplicate text+match_type pairs inside the same ad group are rejected by Google Ads — call google_ads_keywords_cross_adgroup_duplicates first if you are adding at scale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | No | Google Ads customer ID as a 10-digit string without dashes (e.g. '1234567890'). Optional — falls back to GOOGLE_ADS_CUSTOMER_ID / GOOGLE_ADS_LOGIN_CUSTOMER_ID from the configured credentials when omitted. | |
| ad_group_id | Yes | Target ad group ID. All keywords in this call are added to this single ad group. | |
| keywords | Yes | Keywords to add. Each item has `text` (required) and optional `match_type` (BROAD / PHRASE / EXACT, default BROAD). |