create_structured_snippet
Builds a Google Ads structured snippet extension and links it to a campaign or ad group using predefined headers and value lists.
Instructions
Create a structured snippet extension asset and link it to a campaign or 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": {
"header": "<header>",
"values": "<values>"
},
"name": "create_structured_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| header | Yes | Snippet header (e.g. 'Types', 'Brands', 'Styles'). Must be a predefined Google Ads header value. | |
| values | Yes | List of snippet values (3-10 recommended, e.g. ['Type A', 'Type B']) | |
| confirm | No | Must be true to execute the creation. | |
| ad_group_id | No | Ad group ID to link to. Provide either this or campaign_id. | |
| campaign_id | No | Campaign ID to link to. Provide either this or ad_group_id. | |
| customer_id | No | Google Ads customer ID (no dashes). Uses active account if not provided. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||