draft_create_custom_html_ad_item
Create a draft custom HTML ad item within a campaign draft by providing campaign_draft_id and ad item fields including name and custom_html.
Instructions
Create a new draft custom HTML ad item
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": {
"campaign_draft_id": "<campaign_draft_id>",
"draft": "<draft>"
},
"name": "draft_create_custom_html_ad_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | Yes | Object containing custom HTML ad item fields (name, custom_html required) | |
| campaign_draft_id | Yes | Draft campaign ID this ad item belongs to |