create_campaign_draft
Build a ready-to-launch ad campaign for a product WITHOUT the user having an account yet. Parses the landing page, generates ad creatives, and returns a single checkout link. Give that link to the user: they sign in there, the campaign moves to their account, they pay, and it starts. Use this after estimate_campaign, once the user agreed to advertise. Do NOT ask them to register first.
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": {
"url": "<url>"
},
"name": "create_campaign_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geo | No | Optional ISO-2 country target, e.g. "US" | |
| url | Yes | Landing page URL of the product to promote (required) | |
| lang | No | Optional audience language, e.g. "en" | |
| budget | No | Intended budget in USD, used for the estimate shown to the user | |
| description | No | What the product does, in your own words — improves topic matching |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | Poll get_draft_status with this to see whether the user paid. | |
| estimate | No | Same shape as estimate_campaign, for the budget given. | |
| expiresAt | Yes | ISO timestamp after which the link stops working. | |
| adsCreated | No | How many ad variants were generated. | |
| campaignId | No | ||
| checkoutUrl | Yes | THE link to give the user. One click: sign in, review creatives, pay. |