Create Demand Gen Ad Group + Ad
create_demand_gen_ad_groupSTEP 2 of 2 for Demand Gen. Requires campaign_id from create_demand_gen_campaign. Creates one ad group AND its DemandGenMultiAssetAd together in one call. Headlines: 1-5 (max 30 chars). Descriptions: 1-5 (max 90 chars). Needs at least one of marketing_image_resource_name/square_image_resource_name (auto-detected from the asset library if omitted) plus a logo (required, also auto-detected if omitted).
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>",
"descriptions": "<descriptions>"
},
"name": "create_demand_gen_ad_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| final_url | Yes | ||
| headlines | Yes | 1-5 headlines, max 30 chars each. | |
| campaign_id | Yes | ||
| customer_id | No | ||
| user_intent | Yes | ||
| descriptions | Yes | 1-5 descriptions, max 90 chars each. | |
| business_name | Yes | ||
| logo_resource_name | No | Optional. Image asset for the required logo (customers/123/assets/456, see list_asset_library). Auto-detected if omitted, same detection logic as create_asset_group; if none can be found with certainty the call stops and lists square candidates instead of guessing. | |
| call_to_action_text | No | Optional call-to-action text. | |
| square_image_resource_name | No | Optional. Explicit square (1:1, min 300x300) image asset. Auto-picked from the asset library if omitted. At least one of this or marketing_image_resource_name is required. | |
| marketing_image_resource_name | No | Optional. Explicit landscape (1.91:1, min 600x314) image asset. Auto-picked from the asset library if omitted. At least one of this or square_image_resource_name is required (unlike Performance Max, Demand Gen does not require both). |