Build a campaign step by step
build_campaignBuild a Meta campaign together with the person, two related questions at a time, shown in the chat as a form with buttons: goal and budget, page and conversion, creative and texts, audience and name — and first the ad account when several are connected. Call it when the person wants to build a campaign step by step or is unsure what to fill in. Nothing is created in the ad account and nothing counts toward the monthly change limit: the answers are kept under draft_id. When everything is answered, create_campaign with that draft_id returns the full preview and confirm_token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Fields to remove from the draft, e.g. ["end_time"]. | |
| defer | No | Set by the form itself: questions the person left to the assistant for the end. Leave it out. | |
| answers | No | Fields of create_campaign the person chose: the "answer" of the picked options, or what they wrote, mapped to fields. | |
| draft_id | No | The draft to continue, from an earlier answer. Omit to start a new one. | |
| language | No | Language of the conversation, e.g. "ru", "uk", "pl" or "en": the form shows its questions and buttons in it. Always pass it; without it the form falls back to the language of the chat interface. | |
| connection | No | Ad account: connection id or ad account number — the answer of the ad account question. |