hermosodocs

manage_merchant_conversion_source

Merchant Center conversion sources destructive

Area: MERCHANT SETTINGS, THE WRITE HALF · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

WHERE MERCHANT CENTER GETS ITS CONVERSION DATA FROM, which is what free-listing and Shopping performance reporting is built on — a merchant with no conversion source sees clicks and no outcomes, and nothing in Merchant Center says why. Two kinds, and they are different jobs: a MERCHANT CENTER DESTINATION is a Google tag target, and creating one returns a destination id (MC-…) that is the only place that id exists, so it must be read back to the user because it is what the Google tag has to send conversions to. A GOOGLE ANALYTICS LINK pulls conversions from a GA4 property instead, needs the connected Google account to be an ADMIN on that property, and Google marks it IMMUTABLE — the property cannot be changed afterwards, only deleted and re-created. action:'list' shows every source including archived ones, 'create' adds one, 'update' changes a destination's name, currency or attribution, 'delete' ARCHIVES one (confirm-gated) and 'undelete' restores it until the expiry Google reports on the archived row. Attribution lookback is 7, 30 or 40 days and nothing else. Free.

Parameters

ParameterTypeDescription
merchantCenterIdrequiredstringfrom list_merchant_accounts
action"list" | "create" | "update" | "delete" | "undelete"defaults to 'list'
kind"merchant_center_destination" | "google_analytics_link"for action:'create' — which kind to make. Passing propertyId implies the Google Analytics one
displayNamestringthe name that identifies a tag destination in the Merchant Center UI, e.g. "Website purchases". Required to create one; may also name an existing source for update/delete
currencyCodestringthree-letter ISO 4217 code the conversions are reported in, e.g. USD. Required when creating a tag destination — it decides what every number reported through it means
attributionModelstringCROSS_CHANNEL_LAST_CLICK (default) | ADS_PREFERRED_LAST_CLICK | CROSS_CHANNEL_DATA_DRIVEN | CROSS_CHANNEL_FIRST_CLICK | CROSS_CHANNEL_LINEAR | CROSS_CHANNEL_POSITION_BASED | CROSS_CHANNEL_TIME_DECAY
attributionLookbackWindowDaysnumber7, 30 or 40 — Google publishes no other value. Defaults to 30
conversionTypesstring[]names of the conversion types events may be classified as. IMMUTABLE once set, and Google returns it on no read, so it can never be confirmed afterwards — leave it off and Google creates a standard "purchase" type
propertyIdstringNUMERIC GA4 property id for a Google Analytics link (from list_analytics_properties), not a G- measurement id
conversionSourceIdstringfor update, delete and undelete — from action:'list'
showDeletedbooleaninclude archived sources in a list
confirmbooleanmust be true to actually archive

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

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"manage_merchant_conversion_source","arguments":{"merchantCenterId":"<string>"}}}

CLI

hermoso call manage_merchant_conversion_source --json '{"merchantCenterId":"<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