Dry-run a campaign draft against the platform rules
Checks a campaign draft field by field against Adako's spec for that platform and campaign type, and returns every problem with a severity and what to do about it. Pure dry run: it contacts no platform, changes nothing and costs nothing. Catches: missing required fields, text over the character limit, lists with too few or too many items, budgets under the platform floor, objective and optimisation-goal pairings the platform refuses, ids passed as numbers, money that looks like micros or cents, and place or interest names where an id belongs. Budget floors: pass currency (the ad account's ISO code, from list_connected_accounts or the account read). The floors Adako knows offline are USD figures, so they are enforced for USD only; in any other or unknown currency the draft is not told it clears the floor — the create tool's preview checks the account's own minimum. Use when: you have assembled a draft and before you call any create tool. Run it again after fixing, until there are no blockers. When not to use: you do not have a draft yet — call get_campaign_spec to learn what to ask the user for. Returns per-field issues (blocker / warning / note) and the resolver or tool to call next. A clean result means the draft satisfies the rules Adako knows; the platform is still the final judge, so a create can still be rejected for policy or account state.
Request
- Base URL: https://adako.ai
- URL: https://adako.ai/api/v1/tools/validate_campaign_draft/execute
- Auth: HTTP bearer
Headers
Optional 8-128 character key. A successful envelope is cached for 24 hours; replaying the key with the same arguments returns it again with Idempotent-Replayed: true, and replaying it with different arguments answers 409.
Request body
Response
The tool ran. A write returns proposal_id and approve_url while the change waits for approval.
Changes
No recorded changes to this operation across all 1 revision of this API.