Edit a Meta ad set (targeting is merged)
Changes one ad set's targeting, optimisation goal, schedule, DSA fields or name. Targeting is merged: every add and remove is applied to the spec Meta currently holds, so nothing you did not name is lost. The preview shows the merged result field by field before anything is sent. Use when: the user wants to widen, narrow or correct an existing audience, or shift its schedule. Do not use to change the budget (meta_update_adset_budget) or to pause it (meta_pause_entity). Do not change targeting on an ad set that is still learning unless the user accepts that learning restarts and delivery gets worse first — the preview warns when that applies. Do not pass free text: interests, behaviours and locations must be ids from meta_search_targeting or meta_browse_targeting. Returns the ad set read back from Meta, so the merged targeting is confirmed rather than assumed. If a removal would leave the ad set with no location or no detailed targeting at all, the tool refuses or warns — ask the user what they intended instead of guessing. It also refuses EU/EEA locations added to an ad set without dsa_beneficiary and dsa_payor (ask the user for both), unknown location keys, past dates, placement combinations Meta rejects, and targeting the campaign's special ad category forbids.
Request
- Base URL: https://adako.ai
- URL: https://adako.ai/api/v1/tools/meta_update_ad_set/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.