hermosodocs

upsert_microsoft_merchant_product

Add or update Microsoft Merchant Center product offers destructive

Area: Microsoft Merchant Center · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

Add or update product offers in a Microsoft Merchant Center store. THE ONE THING TO KNOW BEFORE CALLING IT: Microsoft has NO partial update — 'because an update is an insert operation, you must include all fields of the offer in the request' — so a title-only 'update' CLEARS every other field. Always send the whole offer. Ten fields are required: availability, channel, condition, contentLanguage, imageLink, link, offerId, price, targetCountry, title; brand/gtin/mpn are strongly recommended and their absence is set as identifierExists:false for you. Pass product for one offer or products[] for a batch (Hermoso caps a batch at 300 — Microsoft publishes two contradictory ceilings for this and we take the lower). Pass dryRun:true to validate against Microsoft without writing anything; Microsoft returns no ids on a dry run, so none is claimed. Feed edits cannot spend and cannot start an auction, but an offer goes through editorial review — being STORED is not the same as being served. Everything is read back from Microsoft. 0 credits.

Parameters

ParameterTypeDescription
adAccountIdstringMicrosoft ad account id — omit to use the single shared account
accountIdstringolder name for adAccountId (MCP only)
merchantIdstringMicrosoft Merchant Center store id from list_microsoft_merchant_stores — omit when the account has exactly one store
productobjectONE whole offer — availability, channel, condition, contentLanguage, imageLink, link, offerId, price{value,currency}, targetCountry, title are required; brand/gtin/mpn strongly recommended
productsobject[]several whole offers in one batch, maximum 300
catalogIdstringwrite into a specific catalog instead of the store default
dryRunbooleanvalidate against Microsoft and write nothing — Microsoft returns no ids for a dry run, so none is claimed

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/upsert_microsoft_merchant_product.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"upsert_microsoft_merchant_product","arguments":{}}}

CLI

hermoso call upsert_microsoft_merchant_product --json '{}'

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