Google Ads: Update Search Themes
gads_update_search_themesSet the search themes of a Performance Max asset group — the phrases that tell Google which demand this asset group is meant to capture, which is one of the few direct controls a Performance Max campaign has. The list you pass REPLACES the whole set: send every theme you want the asset group to have, including the ones already there. A theme that drops out of the list is deleted and this tool cannot bring it back. At most 25 themes of 80 characters each. Audience signals on the same asset group are never touched. Read the current themes first with gads_list_asset_groups and include_search_themes.
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": {
"asset_group_id": "<asset_group_id>",
"search_themes": "<search_themes>"
},
"name": "gads_update_search_themes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | No | Google Ads account to change: customer id or exact account name. Required when you have several accounts — the stored default is never used for a change then. | |
| search_themes | Yes | The complete new set of search themes, at most 25 entries of 80 characters or fewer. Write them the way someone would search, not as keywords with match types. Pass an empty array to remove every search theme, which leaves Google inferring intent entirely on its own. | |
| asset_group_id | Yes | Asset group whose search themes to set, as reported by gads_list_asset_groups. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| added | Yes | How many themes were created. | |
| removed | Yes | How many themes were deleted. | |
| skipped | Yes | Themes that were already set under a different capitalisation, so nothing was written for them. Google matches search themes case-insensitively. | |
| campaignId | No | Campaign it belongs to. | |
| assetGroupId | Yes | Asset group that was updated. | |
| searchThemes | Yes | The search themes now in effect. | |
| assetGroupName | No | Name of the asset group. | |
| audienceSignalCount | Yes | Audience signals on this asset group, which this tool leaves untouched. Editing those needs the Google Ads interface. |