Meta Ads

Plan a Meta budget reallocation

Compares the ad sets in a campaign (or the whole account) on cost per result — or ROAS where revenue exists — and produces a reallocation plan: which budgets to raise, which to lower, by how much, and why. Use when: the user asks where to put more money, or wants a defensible weekly rebalance. Do not expect it to write anything. It returns a plan; each move is then a separate meta_update_adset_budget call the user approves. Do not apply moves to an ad set still in the learning phase — the plan leaves those out and says so, because a budget change restarts learning. Do not exceed the step size without saying what it costs: moves are capped at max_change_percentage (20% by default) because Meta re-enters learning on large jumps. Returns the plan with before and after budgets, the reason per move, and the ad sets deliberately left alone. If every ad set performs close to the average, the honest plan is to change nothing.

post/api/v1/tools/meta_optimize_budget/execute

Request

  • Base URL: https://adako.ai
  • URL: https://adako.ai/api/v1/tools/meta_optimize_budget/execute
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

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.

successunknown required
toolstring required
dataobject required

Machine-readable result.

markdownstring required

The same result written for a person or a model.

proposal_idstring

Present for writes. Nothing changes on the ad platform until it is approved.

approve_urlstring

Where a person approves the proposal.

request_idstring required

Changes

No recorded changes to this operation across all 1 revision of this API.