Google Ads: Update Asset Group Text
gads_update_asset_group_assetsRewrite the text of a Performance Max asset group: its headlines, long headlines and descriptions. Each list you pass REPLACES the whole list for that slot — send every headline you want the asset group to have, not just the new ones — and a slot you omit is left untouched. Text that is already there keeps its existing asset and its performance history, so repeating a headline you want to keep costs nothing. Read the current copy first with gads_list_asset_groups and include_assets. Google's minimums apply and cannot be crossed: 3 headlines, 1 long headline, 2 descriptions, with at least one description of 60 characters or fewer. For images, logos and video use gads_update_asset_group_media; for search themes gads_update_search_themes; for a responsive search ad gads_update_ad.
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>"
},
"name": "gads_update_asset_group_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headlines | No | Complete new set of headlines, 3-15 entries of at most 30 characters. An entry may be a plain string or an object with a text. Performance Max assets are never pinned. Omit to leave the headlines alone. | |
| 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. | |
| descriptions | No | Complete new set of descriptions, 2-5 entries of at most 90 characters, of which at least one must be 60 characters or fewer — Google refuses an asset group whose descriptions are all long. Omit to leave them alone. | |
| asset_group_id | Yes | Asset group to rewrite, as reported by gads_list_asset_groups. | |
| long_headlines | No | Complete new set of long headlines, 1-5 entries of at most 90 characters. These are the headlines Google uses where there is room for a full sentence. Omit to leave them alone. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | One entry per slot this call touched. | |
| changed | Yes | False when every text you passed was already in place, in which case nothing was sent to Google at all. | |
| campaignId | No | Campaign it belongs to. | |
| assetGroupId | Yes | Asset group that was rewritten. | |
| campaignName | No | Name of that campaign. | |
| assetGroupName | No | Name of the asset group. | |
| adStrengthBefore | No | Ad strength the asset group carried before the edit. Google recomputes it after a change, so read it again with gads_list_asset_groups to see the effect. |