x ads get campaign reach
x_ads_get_campaign_reachRetrieve reach and average-frequency metrics for X ad campaigns within a specified time window. Provide account ID, campaign IDs, and start/end times to get the data.
Instructions
Get reach and average-frequency metrics for campaigns Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_time | Yes | ISO 8601 end of the metrics window (exclusive); must be in the past (a future end_time is rejected). | |
| account_id | Yes | X Ads account ID from X_ADS_ACCOUNT_IDS. | |
| start_time | Yes | ISO 8601 start of the metrics window. | |
| campaign_ids | Yes | Comma-separated campaign IDs to fetch reach for (max 20). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Original tool result: parsed JSON when the text is JSON, otherwise the text or multiple MCP content blocks. Provider fields depend on the selected query. |