Create Performance Max Asset Group
create_asset_groupSTEP 2 of 2 for Performance Max. BEFORE calling this, check list_asset_groups — if an asset group already exists for this campaign, use add_asset_group_assets instead. Requires campaign_id from create_performance_max_campaign. Headlines: 3-15 (max 30 chars). Long headline: 1 (max 90 chars). Descriptions: 2-5 (max 90 chars). Search themes: up to 50.
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": {
"user_intent": "<user_intent>",
"campaign_id": "<campaign_id>",
"name": "<name>",
"final_url": "<final_url>",
"business_name": "<business_name>",
"headlines": "<headlines>",
"long_headline": "<long_headline>",
"descriptions": "<descriptions>"
},
"name": "create_asset_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| final_url | Yes | ||
| headlines | Yes | 3-15 headlines, max 30 chars each. | |
| campaign_id | Yes | ||
| customer_id | No | ||
| user_intent | Yes | ||
| descriptions | Yes | 2-5 descriptions, max 90 chars each. | |
| business_name | Yes | ||
| long_headline | Yes | Exactly 1 long headline, max 90 chars. | |
| search_themes | No | Up to 50 search theme keywords. | |
| logo_resource_name | No | Optional. Image asset to use as the LOGO (customers/123/assets/456, see list_asset_library). If omitted, the account's brand logo is detected automatically (business logo asset, logo already used in other asset groups, or a file named logo). If none is found the call stops and lists square candidates instead of guessing. | |
| square_image_resource_name | No | Optional. Explicit square (1:1) image asset to use for SQUARE_MARKETING_IMAGE (customers/123/assets/456, e.g. from create_image_asset). Same auto-pick-bypass behavior as marketing_image_resource_name. | |
| marketing_image_resource_name | No | Optional. Explicit landscape (1.91:1) image asset to use for MARKETING_IMAGE (customers/123/assets/456, e.g. from create_image_asset). Skips auto-pick entirely. Use this on accounts with large asset libraries, where auto-pick's 200-row query may not see a just-uploaded image or may keep returning the same asset that's failing NOT_ENOUGH_MARKETING_IMAGE_ASSET. |