publish_ad_plan
Publish an exact frozen ad-plan revision after human review.
If the result is pending/running/waiting, call get_ad_plan_publication with its run ID and wait_seconds=20 until terminal before reporting an outcome. Requires publication permission. Only the approved revision executes; later draft edits cannot change it. Review the budget, destinations and creatives before publication. Results report individual operation outcomes; do not report a failed/partial publication as complete or repeatedly retry an uncertain platform write.
A failed or partial last publication is continued: objects that attempt created are reused and only the missing items are created, whether or not retry_of_run_id names it (it continues automatically when the reuse is possible). Fix the failed items in the draft, freeze again and publish. A changed item that attempt created blocks the reuse instead of being duplicated. To start over instead (what that attempt created was removed on the platform), change those items in the draft, e.g. a new campaign name, so they are created anew.
Parameters#
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
revision_id | string | yes | ||
retry_of_run_id | string | no |
Generated by generate_mcp_docs from the server tool. Add to this page below this block; the block is rewritten on every run.
An edit draft (create_ad_edit_plan) publishes the same way: each step
applies one change to an existing campaign, ad set or ad, the review
re-reads every target first, and a retry never re-applies an edit that
already succeeded.