google_ads_keywords_add
Add keywords to a Google Ads ad group with specified match types, returning criterion IDs for each added keyword. Avoid duplicate text and match type pairs to prevent Google Ads rejection.
Instructions
Adds one or more keyword criteria to a single ad group. Returns the created criterion_ids keyed by their input position. Mutating — not automatically reversible; record before-state with mureo_state_action_log_append if you may need to roll back. 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 |
|---|---|---|---|
| keywords | Yes | Keywords to add. Each item has `text` (required) and optional `match_type` (BROAD / PHRASE / EXACT, default BROAD). | |
| ad_group_id | Yes | Target ad group ID. All keywords in this call are added to this single ad group. | |
| 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. |