x_ads_report
X ads performance report read-only
Description
Performance stats for X campaigns, line items or promoted posts. `placement` here is SINGULAR and comes from a FOUR-value set (ALL_ON_TWITTER / PUBLISHER_NETWORK / SPOTLIGHT / TREND) — deliberately not the twelve placements a line item accepts; do not carry one across. THE TRAP THIS REPORTS: an entity id that does not exist on the account answers 200 with every metric null, which is indistinguishable from a real zero, so an all-null response is FLAGGED rather than narrated as zero performance. Max 20 ids per call. Read-only, 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) |
entity | "ACCOUNT" | "CAMPAIGN" | "FUNDING_INSTRUMENT" | "LINE_ITEM" | "MEDIA_CREATIVE" | "ORGANIC_TWEET" | "PROMOTED_ACCOUNT" | "PROMOTED_TWEET" | default CAMPAIGN |
entityIdsrequired | string[] | max 20 |
startTime | string | ISO 8601; defaults to 7 days before endTime |
endTime | string | ISO 8601; defaults to now |
granularity | "HOUR" | "DAY" | "TOTAL" | default TOTAL |
placement | "ALL_ON_TWITTER" | "PUBLISHER_NETWORK" | "SPOTLIGHT" | "TREND" | default ALL_ON_TWITTER |
metricGroups | "BILLING" | "ENGAGEMENT" | "LIFE_TIME_VALUE_MOBILE_CONVERSION" | "MEDIA" | "MOBILE_CONVERSION" | "VIDEO" | "WEB_CONVERSION"[] | default ENGAGEMENT |
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/x_ads_report.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"x_ads_report","arguments":{"entityIds":"<array>"}}}
CLI
hermoso call x_ads_report --json '{"entityIds":"<array>"}'
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
x_ads_geo_searchFind X ads location idslist_openai_ads_conversion_eventsList ChatGPT Ads conversion eventsadd_x_ads_targetingTarget an X ads line itemcreate_openai_ads_pixelCreate a ChatGPT Ads pixelcreate_x_ads_promoted_tweetAttach a post to an X line item (paused)create_openai_ads_conversion_eventDefine a ChatGPT Ads conversionsend_x_ads_conversionsSend conversions to X (Conversion API)list_openai_ads_audiencesList ChatGPT Ads custom audiencesmanage_x_ads_conversion_eventsX Pixel conversion events (list / create / update)create_openai_ads_audienceCreate a ChatGPT Ads custom audience