Create launch draft
create_launch_draftPrepare a new campaign as a proposal in the Loop inbox (needs a propose key). Same checks as the Loop form: connected channel, unique name, budget plan, guardrails. Nothing is sent to the ad platform; a person approves it in Loop.
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": {
"name": "<name>",
"channel": "<channel>",
"amount": "<amount>",
"endTime": "<endTime>"
},
"name": "create_launch_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | Destination URL (store or website). | |
| name | Yes | Campaign name. Must not exist in the workspace or wait in the inbox already. | |
| ageMax | No | Meta only: oldest age the ad is shown to, as a hard limit (turns Advantage+ audience off). Omit for no limit. | |
| ageMin | No | Meta only: youngest age the ad is shown to. Omit for no limit. | |
| amount | Yes | Total budget in major units of the currency the channel's ad account bills in (e.g. 30000 for ¥30,000). Channels whose account currency cannot be read use the workspace currency. | |
| channel | Yes | Ad platform key, e.g. meta, google_ads, tiktok, apple_search_ads, microsoft_ads, linkedin_ads, amazon_ads. Must be connected. | |
| draftId | No | Id of a pending draft to replace. Omit for a new draft. | |
| endTime | Yes | End, ISO 8601 with offset, e.g. 2026-11-30T23:59:59+09:00. | |
| appEvent | No | Meta app event to optimise for instead of installs; only events list_app_events returns are accepted. TUTORIAL_COMPLETION and COMPLETE_REGISTRATION happen before payment: use them when payment events are too few for Meta to learn from. Whether the ads paid back is still judged from the payments Loop records, not from these events. | |
| bodyText | No | ||
| deviceOs | No | Meta only: show the ad only on this device OS, as a hard limit (turns Advantage+ audience off). Omit for every device. | |
| headline | No | ||
| countries | No | ISO country codes, e.g. ["JP"]. | |
| startTime | No | Optional start, ISO 8601 with offset. | |
| placements | No | Meta placements. Omit to let Meta choose. | |
| moreHeadlines | No | Google Ads App campaigns only: the 2nd to 5th headlines (Google needs 2–5, each up to 30 wide; full-width counts as 2). | |
| amountCurrency | No | The currency you mean the amount in (ISO 4217, e.g. JPY). If the ad account bills in another currency, nothing is saved. | |
| libraryAssetId | No | Library file id from this workspace. | |
| imageCreativeId | No | Creative id from this workspace. | |
| youtubeVideoIds | No | ||
| customProductPageId | No | Meta app ads linking to the App Store only: the custom product page (its UUID, the ppid) the ad sends people to instead of the default store page. list_custom_product_pages lists the approved ones when the workspace has an App Store Connect key. In a creative test, set customProductPageId on each item of variants instead. Omit for the default store page. |