Skip to main content
Glama

Google Ads & Meta Ads

Google Ads: Update Asset Group Text

gads_update_asset_group_assets
DestructiveIdempotent

Rewrite 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

NameRequiredDescriptionDefault
headlinesNoComplete 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_idNoGoogle 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.
descriptionsNoComplete 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_idYesAsset group to rewrite, as reported by gads_list_asset_groups.
long_headlinesNoComplete 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

NameRequiredDescriptionDefault
fieldsYesOne entry per slot this call touched.
changedYesFalse when every text you passed was already in place, in which case nothing was sent to Google at all.
campaignIdNoCampaign it belongs to.
assetGroupIdYesAsset group that was rewritten.
campaignNameNoName of that campaign.
assetGroupNameNoName of the asset group.
adStrengthBeforeNoAd 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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations flag destructiveHint=true and idempotentHint=true, but the description supplies the meaning behind both: each list REPLACES the whole slot, an omitted slot is untouched, and re-sending existing text preserves the asset and its performance history. It additionally discloses hard server-side refusals (minimum counts, the 60-character description rule), which is exactly the operational context annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the action, then the replacement rule, then prerequisites, then sibling routing — a sensible ordering with no filler. Sentences are dense but every one carries a distinct constraint; only the long em-dash constructions cost it the top mark.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation. Given a destructive, open-world mutation over five parameters, the description covers replacement semantics, preservation of performance history, validation thresholds, read-before-write guidance and alternatives — nothing an agent needs to call it safely is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description goes beyond it: it explains the replace-the-entire-list contract for headlines, long_headlines and descriptions, the cost-free effect of repeating kept copy, and reinforces which minimums will cause a refusal. These semantics govern how each array parameter must be constructed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource: 'Rewrite the text of a Performance Max asset group: its headlines, long headlines and descriptions.' It bounds the scope to text slots and explicitly pushes media, search themes and responsive search ads to named siblings, so an agent can distinguish it immediately.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit prerequisite ('Read the current copy first with gads_list_asset_groups and include_assets') and routes three other asset classes to gads_update_asset_group_media, gads_update_search_themes and gads_update_ad. It also states the replace-vs-omit rule that determines how the tool is called.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources