Skip to content

X Ads media creative stats

Analytics of the media creatives in a campaign. Works on your own X Ads account, connected through Get MCP Ads. Needs account id, end time, entity ids and more.

Inputs

7 required
Account ID
X Ads account ID selected in SourcesRequired · account_id
End time
ISO 8601 end of the metrics window (exclusive)Required · end_time
Entity IDs
Comma-separated IDs of the entities to fetch metrics for (max 20)Required · entity_ids
Granularity
Granularity of the returned time series (DAY, HOUR or TOTAL)Required · granularity
Metric groups
Comma-separated metric groups, e.g. ENGAGEMENT,BILLING,VIDEO (max 10; MOBILE_CONVERSION groups mu..Required · metric_groups
Placement
Placement to scope the metrics to (ALL_ON_TWITTER or PUBLISHER_NETWORK)Required · placement
Start time
ISO 8601 start of the metrics window, e.g. 2026-07-01T00:00:00ZRequired · start_time
Workspace ID
Authorized workspace ID from list_accounts/list_workspacesOptional · workspace_id

Pricing

Price
$0.005 per call
Billing
The provider’s price, with no markup. Billed for measured usage.

Call

Your agent reads the schema and the price with inspect_tool before it runs the tool.

MCP call
cURL command
TypeScript
Tool ID

Alternatives

X Ads creatives

Connect your agent to 3,500+ tools for free

Sign in with Google or GitHub. No card required.