hermosodocs

create_x_ads_post

Write a promoted-only X post for ads

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

Write an X post FOR ADS — PROMOTED-ONLY by default (X's 'nullcast'): it never appears on the brand's timeline or in followers' feeds and serves only as an ad, so you can test several creatives without spamming followers. Carry a card (cardUri from create_x_ads_card) OR up to 4 media (mediaKeys from upload_x_ads_media). Posted as the ad account's own promotable user (asUserId to choose). Pass lineItemId to attach it straight to a line item (which stays PAUSED). promotedOnly:false makes it a normal public post and needs confirmPublic:true. Read back from X. Free.

Parameters

ParameterTypeDescription
adAccountIdstringX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringolder name for adAccountId (MCP only)
textstringpost text
cardUristringcard_uri from create_x_ads_card; use instead of mediaKeys
mediaKeysstring[]up to 4 media keys from upload_x_ads_media
namestringinternal name in ads.x.com
promotedOnlybooleandefault true
confirmPublicbooleantrue is required with promotedOnly:false, to publish a public post
asUserIdstringpromotable user id to post as; omit for the ad account's own user
conversationSettings"EVERYONE" | "FOLLOWING" | "MENTIONED_USERS"who may reply to the post: EVERYONE, FOLLOWING or MENTIONED_USERS
videoTitlestringtitle of a video post
videoDescriptionstringdescription of a video post
videoCta"VISIT_SITE" | "WATCH_NOW"call-to-action button on a video post: VISIT_SITE or WATCH_NOW
videoCtaUrlstringURL the video call-to-action links to
utmobjectUTM tags object: source, medium, campaign, content, term; appended to the destination URL
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
lineItemIdstringattach to this line item right away

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

MCP (tools/call)

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

CLI

hermoso call create_x_ads_post --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