create_x_ads_post
Write a promoted-only X post for ads
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
| Parameter | Type | Description |
|---|---|---|
adAccountId | string | X ad account id (list_x_ads_accounts); omit if only one is shared |
accountId | string | older name for adAccountId (MCP only) |
text | string | post text |
cardUri | string | card_uri from create_x_ads_card; use instead of mediaKeys |
mediaKeys | string[] | up to 4 media keys from upload_x_ads_media |
name | string | internal name in ads.x.com |
promotedOnly | boolean | default true |
confirmPublic | boolean | true is required with promotedOnly:false, to publish a public post |
asUserId | string | promotable 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 |
videoTitle | string | title of a video post |
videoDescription | string | description of a video post |
videoCta | "VISIT_SITE" | "WATCH_NOW" | call-to-action button on a video post: VISIT_SITE or WATCH_NOW |
videoCtaUrl | string | URL the video call-to-action links to |
utm | object | UTM tags object: source, medium, campaign, content, term; appended to the destination URL |
utm.source | string | utm_source tag appended to websiteUrl; a tag already in the URL is kept |
utm.medium | string | utm_medium tag appended to websiteUrl; a tag already in the URL is kept |
utm.campaign | string | utm_campaign tag appended to websiteUrl; a tag already in the URL is kept |
utm.content | string | utm_content tag appended to websiteUrl; a tag already in the URL is kept |
utm.term | string | utm_term tag appended to websiteUrl; a tag already in the URL is kept |
lineItemId | string | attach 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.
Related tools
create_x_ads_cardBuild an X ad cardupload_x_ads_mediaUpload media to an X ad accountlist_x_ads_cardsList X ad cardslist_x_ads_postsList the posts an X ad account can promotepreview_x_ads_postPreview an X ad postlist_x_ads_mediaList an X ad account’s Media Libraryget_x_ads_leadsRead the leads from an X lead formupdate_x_ads_lead_formChange an X lead formcreate_x_ads_lead_formCreate an X lead formlist_x_ads_lead_formsList X lead forms