Get an AI new-campaign draft
get_campaign_draftReturns the state of a draft started by draft_campaign: pending, running, done or failed. When done, campaign can be passed verbatim to create_search_campaign (preview first). If missing_fields is not empty (usually campaign.daily_budget), ask the user, set those fields on campaign, then preview. keyword_planner_used tells whether Google Keyword Planner data was used; when true, keyword_metrics lists avg_monthly_searches and competition for the draft's keywords (close_variants share the same row's combined numbers). When failed, error explains why; start a new draft. Drafts are kept for 24 hours.
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": {
"draft_id": "<draft_id>"
},
"name": "get_campaign_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | draft_id returned by draft_campaign. |