Create ad
create_adCreate a new ad inside an ad group. A search ad reads headlinePart1–3 and description/description2. A single-image card (type OPENAI_CHAT_CARD, a chat card) reads headlinePart1 as its title (3–50 characters) and description as its body (up to 100) — or _native[platformId].postTitle / postBody when you want the card to read differently — finalUrl as its destination, and needs one image of at least 640 × 640: upload_asset, then attach_asset_to_ad with role MARKETING_IMAGE (or set creative.imageUrl). headlinePart2 is not needed for a card. validate_export names anything a platform would refuse; preview_campaign shows the card as it will be sent. Returns the full updated/created object. Scoped to the active Space — see set_active_space to switch, or pass space_id to override for this one call.
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": {
"body": "<body>"
},
"name": "create_ad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body matching the AdCreate schema. Fields below; see the OpenAPI spec for nested object shapes. | |
| space_id | No | Override the active Space for this one call. Defaults to the active Space set via set_active_space (or GROWOMAT_SPACE_ID on the server). Pass to read/write a different Space without changing the session binding. |