hermosodocs

create_x_ads_card

Build an X ad card

Area: X ADS LEAD GEN, CARDS, MEDIA, PROMOTED-ONLY POSTS · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

Create an X card — the big image/video with a headline or button that an X ad clicks through on. ONE destination: websiteUrl (a website card, with a headline `title`), leadFormId (opens an X lead form — headline, or a button with buttonLabel), or an app (iosAppId/googlePlayAppId + countryCode, a button). Media: mediaKey, or 2–6 mediaKeys for a swipeable card (upload_x_ads_media). utm {source,medium,campaign,content,term} is appended to websiteUrl without overwriting the URL's own. Read back from X; a card is used by create_x_ads_post(cardUri). Free.

Parameters

ParameterTypeDescription
adAccountIdstringX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringolder name for adAccountId (MCP only)
namerequiredstringinternal name for the card
mediaKeystringone media key from upload_x_ads_media (single image or video)
mediaKeysstring[]2-6 media keys from upload_x_ads_media, for a swipeable card
titlestringheadline, for website and lead-form cards
websiteUrlstringdestination URL for a website card. A Hermoso page works: publish_page’s live URL, or get_page adDestinations.
utmobjectUTM tags object: source, medium, campaign, content, term; appended to websiteUrl
utm.sourcestringutm_source tag appended to websiteUrl; a tag already in the URL is kept
utm.mediumstringutm_medium tag appended to websiteUrl; a tag already in the URL is kept
utm.campaignstringutm_campaign tag appended to websiteUrl; a tag already in the URL is kept
utm.contentstringutm_content tag appended to websiteUrl; a tag already in the URL is kept
utm.termstringutm_term tag appended to websiteUrl; a tag already in the URL is kept
leadFormIdstringX lead form id from list_x_ads_lead_forms, for a lead-form card
buttonLabel"BOOK" | "CONNECT" | "INSTALL" | "OPEN" | "ORDER" | "PLAY" | "SHOP"button text shown on a lead-form or app card
iosAppIdstringiOS App Store app id, for an app card
googlePlayAppIdstringGoogle Play package id, for an app card
countryCodestring2-letter store country for an app card, e.g. US
iosDeepLinkstringiOS deep link for an app card
googlePlayDeepLinkstringAndroid deep link for an app card

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_x_ads_card.

MCP (tools/call)

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

CLI

hermoso call create_x_ads_card --json '{"name":"<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