google_ads_keywords_add
Add keywords to a single Google Ads ad group with match type (broad, phrase, exact) and get created criterion IDs. Check for duplicates across ad groups beforehand to prevent 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 |
|---|---|---|---|
| reason | No | Why this change is being made: one or two sentences naming the evidence and the expected effect. Stored in the journal and on the action_log entry this call produces, for the operator and the next session. | |
| 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. |