update_meta_object
Edit a Meta campaign / ad set / ad destructive
Description
Update an EXISTING campaign, ad set, or ad — rename, change its daily or lifetime budget, bid strategy, bid or cost cap, minimum ROAS, end time or optimization goal, retarget (ad sets), swap an ad's creative (creativeId, or imageHash / videoId from upload_meta_asset) or its UTMs (urlTags; Meta keeps creatives fixed, so a new one is built and the ad points at it, the old one kept), or change status (PAUSED / ACTIVE / ARCHIVED). Budget and bid fields go on one object per call, creative fields on an ad. Everything changed is read back. Pass objectId (from list_meta_ads) + adAccountId. Setting something ACTIVE can start REAL AD SPEND — show the user what will run + its budget, get a yes, then pass confirm:true. Pausing and renaming are always safe and always reversible. ARCHIVING IS NOT: Meta treats an archived object as DELETED and refuses to bring it back — every later edit answers "This campaign has been deleted, so you can only edit the name" (measured live 2026-08-05), archiving a campaign takes its ad sets and ads down with it, and the only way back is to duplicate it as a new object. Use PAUSED unless the user has said they are finished with it for good.
Parameters
| Parameter | Type | Description |
|---|---|---|
objectIdrequired | string | the campaign / ad set / ad id (from list_meta_ads) |
adAccountIdrequired | string | ad account id (for auth + scope) |
name | string | new name |
status | "ACTIVE" | "PAUSED" | "ARCHIVED" | ACTIVE starts spend (needs confirm:true); PAUSED / ARCHIVED are safe |
dailyBudgetUsd | number | new daily budget in the AD ACCOUNT's currency (historical name — not necessarily USD; ad-set or campaign level); the reply reads it back with the currency code |
targeting | object | replacement targeting spec (ad sets) — a Meta targeting object |
dsaBeneficiary | string | ad sets: EU ad transparency, who the ad promotes. Meta requires it once targeting reaches the EU; retarget into the EU without it and the ad account default, else the profile's brand name, else the Page name is used |
dsaPayor | string | ad sets: EU ad transparency, who pays (defaults to dsaBeneficiary) |
lifetimeBudgetUsd | number | lifetime budget in the ad account's currency (needs an end time; Meta refuses lowering it below 110% of what is spent) |
bidStrategy | "LOWEST_COST_WITHOUT_CAP" | "LOWEST_COST_WITH_BID_CAP" | "COST_CAP" | "LOWEST_COST_WITH_MIN_ROAS" | |
bidAmountUsd | number | ad sets: the bid or cost cap, account currency (BID_CAP / COST_CAP) |
minRoas | number | ad sets: minimum ROAS, e.g. 1.5 (LOWEST_COST_WITH_MIN_ROAS, optimization goal VALUE) |
endTime | string | ad sets: ISO 8601 end, or "ongoing" for a daily-budget ad set |
optimizationGoal | string | ad sets: new optimization goal; when Meta refuses a change on a set that has delivered, its reason is passed on |
creativeId | string | ads: point the ad at this existing creative |
imageHash | string | ads: new image (hash from upload_meta_asset); the rest of the creative is kept |
videoId | string | ads: new video (id from upload_meta_asset) |
urlTags | string | boolean | ads: new UTM query string Meta appends to clicks, or false for none |
confirm | boolean | REQUIRED true to set ACTIVE, or to change budget, bid, schedule, targeting or creative on a LIVE object |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/update_meta_object.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"update_meta_object","arguments":{"objectId":"<string>","adAccountId":"<string>"}}}
CLI
hermoso call update_meta_object --json '{"objectId":"<string>","adAccountId":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
upload_meta_assetUpload an asset to a Meta ad accountlist_meta_adsList Meta campaigns / ad sets / adssend_linkedin_conversionsSend conversions to LinkedIn (Conversions API)duplicate_meta_objectDuplicate a Meta campaign / ad set / ad (paused)associate_linkedin_conversion_campaignsAttach campaigns to a LinkedIn conversion ruleupdate_linkedin_conversion_ruleUpdate or disable a LinkedIn conversion rulelist_linkedin_conversion_rulesList LinkedIn conversion rulescreate_linkedin_conversion_ruleCreate a LinkedIn conversion ruledelete_linkedin_ads_objectDelete a LinkedIn campaign group / campaign / adset_linkedin_ads_trackingLinkedIn ads dynamic UTM tracking