hermosodocs

update_meta_object

Edit a Meta campaign / ad set / ad destructive

Area: LINKEDIN GAP SWEEP PHASE 1 · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
objectIdrequiredstringthe campaign / ad set / ad id (from list_meta_ads)
adAccountIdrequiredstringad account id (for auth + scope)
namestringnew name
status"ACTIVE" | "PAUSED" | "ARCHIVED"ACTIVE starts spend (needs confirm:true); PAUSED / ARCHIVED are safe
dailyBudgetUsdnumbernew 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
targetingobjectreplacement targeting spec (ad sets) — a Meta targeting object
dsaBeneficiarystringad 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
dsaPayorstringad sets: EU ad transparency, who pays (defaults to dsaBeneficiary)
lifetimeBudgetUsdnumberlifetime 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"
bidAmountUsdnumberad sets: the bid or cost cap, account currency (BID_CAP / COST_CAP)
minRoasnumberad sets: minimum ROAS, e.g. 1.5 (LOWEST_COST_WITH_MIN_ROAS, optimization goal VALUE)
endTimestringad sets: ISO 8601 end, or "ongoing" for a daily-budget ad set
optimizationGoalstringad sets: new optimization goal; when Meta refuses a change on a set that has delivered, its reason is passed on
creativeIdstringads: point the ad at this existing creative
imageHashstringads: new image (hash from upload_meta_asset); the rest of the creative is kept
videoIdstringads: new video (id from upload_meta_asset)
urlTagsstring | booleanads: new UTM query string Meta appends to clicks, or false for none
confirmbooleanREQUIRED 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.

All 759 Ad campaign management tools · tools.json