hermosodocs

create_merchant_promotion

Create a Merchant Center promotion (sale badge)

Area: MERCHANT BREADTH ON THE HELD `content` SCOPE · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

PUT A SALE BADGE ON THE MERCHANT'S SHOPPING LISTINGS — the most seasonal thing a retail advertiser does. It creates the promotion and resolves (or creates) the promotion DATA SOURCE that country/language needs automatically; a promotion data source is its own kind and cannot be the product feed. IT IS NOT LIVE ON CREATE: Google validates promotions asynchronously and can take days to approve one, so report it as SUBMITTED and re-read with list_merchant_promotions. Everything Google marks Required is refused up front by name, including the pairings its own 400 does not mention — PERCENT_OFF needs percentOff, MONEY_OFF needs moneyOffAmount, GENERIC_CODE needs genericRedemptionCode — because otherwise Google accepts the promotion and disapproves it hours later where nobody is watching. 0 credits.

Parameters

ParameterTypeDescription
merchantCenterIdrequiredstringfrom list_merchant_accounts
promotionIdrequiredstringYOUR OWN id for the promotion, e.g. 'black-friday-2026'
targetCountryrequiredstringtwo-letter CLDR territory code, e.g. US. Part of the promotion identity and not changeable later
contentLanguagerequiredstringtwo-letter ISO 639-1 code, e.g. en. Must match the language of the products
longTitlerequiredstringthe promotion text shoppers see, e.g. '20% off all winter coats' — describe the offer, do not name the campaign
couponValueTyperequired"MONEY_OFF" | "PERCENT_OFF" | "BUY_M_GET_N_MONEY_OFF" | "BUY_M_GET_N_PERCENT_OFF" | "BUY_M_GET_MONEY_OFF" | "BUY_M_GET_PERCENT_OFF" | "FREE_GIFT" | "FREE_GIFT_WITH_VALUE" | "FREE_GIFT_WITH_ITEM_ID" | "FREE_SHIPPING_STANDARD" | "FREE_SHIPPING_OVERNIGHT" | "FREE_SHIPPING_TWO_DAY" | "MONEY_OFF_RANGE"the kind of discount
offerTyperequired"NO_CODE" | "GENERIC_CODE"NO_CODE when the discount applies automatically, GENERIC_CODE when the shopper types a code
genericRedemptionCodestringREQUIRED when offerType is GENERIC_CODE
percentOffnumberREQUIRED for PERCENT_OFF — a plain number, e.g. 20
moneyOffAmountobjectREQUIRED for MONEY_OFF — {"amountMicros":"10000000","currencyCode":"USD"} is $10 off
redemptionChannelrequired"IN_STORE" | "ONLINE"[]at least one; ONLINE for a webshop sale
promotionDestinationsrequiredstring[]at least one, e.g. ['SHOPPING_ADS'] for paid Shopping or ['FREE_LISTINGS'] for the unpaid surface
productApplicability"ALL_PRODUCTS" | "SPECIFIC_PRODUCTS"required unless eventApplicability is set — Google allows exactly one of the two
eventApplicability"SITEWIDE" | "SPECIFIC_CATEGORIES"creates a SALES EVENT instead of a product promotion — a different thing
startDaterequiredstringISO date, e.g. 2026-11-27
endDaterequiredstringISO date; widened to the END of that day, because Google's interval end is exclusive
promotionUrlstringthe page on the merchant's site where the promotion shows
attributesobjectany other promotion attribute Google publishes — item/brand/product-type filters, minimum purchase, store filters, display period — forwarded as given
customAttributesobject[]merchant-provided attributes, {name, value}

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

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_merchant_promotion","arguments":{"merchantCenterId":"<string>","promotionId":"<string>","targetCountry":"<string>","contentLanguage":"<string>","longTitle":"<string>","couponValueType":"<one of the listed values>","offerType":"<one of the listed values>","redemptionChannel":"<array>","promotionDestinations":"<array>","startDate":"<string>","endDate":"<string>"}}}

CLI

hermoso call create_merchant_promotion --json '{"merchantCenterId":"<string>","promotionId":"<string>","targetCountry":"<string>","contentLanguage":"<string>","longTitle":"<string>","couponValueType":"<one of the listed values>","offerType":"<one of the listed values>","redemptionChannel":"<array>","promotionDestinations":"<array>","startDate":"<string>","endDate":"<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