Check a draft
validate_campaign_draftCheck a draft before creating it, without creating anything: pass kind (campaign, ad_set or ad), the parent id (account_id, campaign_id or ad_set_id) and params with the same fields as create_campaign / create_ad_set / create_ad. Returns errors and warnings: text lengths, required fields, budget minimum and client cap, locations, special ad categories (jobs, housing, credit), image links and formats, and account blockers. Read-only; free: not counted as an action.
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": {
"kind": "<kind>",
"params": "<params>"
},
"name": "validate_campaign_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| params | Yes | ||
| ad_set_id | No | ||
| account_id | No | ||
| campaign_id | No |