add_keywords
Assign keyword texts to an ad group with configurable match type, bid, and tracking options.
Instructions
Add keywords (Active) to an ad group.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ad_group_id": "<ad_group_id>",
"keywords": "<keywords>"
},
"name": "add_keywords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keywords | Yes | Keyword texts to add. | |
| match_type | No | "Broad", "Phrase", or "Exact" (default "Broad"). | Broad |
| ad_group_id | Yes | The ad group id. | |
| default_bid | No | Default CPC bid in account currency (default 1.0). | |
| final_url_suffix | No | Optional Final URL suffix (applies to every keyword in this batch). | |
| tracking_url_template | No | Optional keyword-level tracking template (applies to every keyword in this batch; overrides ad-group/campaign templates). | |
| url_custom_parameters | No | Optional {key: value} URL custom parameters, referenced in templates/suffixes as {_key} (applies to every keyword in this batch). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| ids | No | ||
| message | Yes | ||
| partial_errors | No |