update_keyword
Update an existing keyword's bid, status, match type, URLs, or custom parameters by providing the ad group and keyword IDs; only the specified fields are changed.
Instructions
Update an existing keyword in place. Only the fields you pass change.
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>",
"keyword_id": "<keyword_id>"
},
"name": "update_keyword"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bid | No | New CPC bid in account currency. | |
| status | No | "Active" or "Paused". | |
| final_url | No | New keyword-level Final URL. | |
| keyword_id | Yes | The keyword id. | |
| match_type | No | "Broad", "Phrase", or "Exact". | |
| ad_group_id | Yes | The parent ad group id. | |
| final_url_suffix | No | Keyword-level Final URL suffix. | |
| tracking_url_template | No | Keyword-level tracking template (overrides ad-group/campaign). | |
| url_custom_parameters | No | {key: value} URL custom parameters, referenced in templates/suffixes as {_key}. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| ids | No | ||
| message | Yes | ||
| partial_errors | No |