x ads get active entities
x_ads_get_active_entitiesList ad entities with metric changes in a time window to identify active ones before pulling account stats.
Instructions
List which ads entities had metrics change in a time window (use before requesting account stats) Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Entity type to check for metric activity. | |
| end_time | Yes | ISO 8601 end of the activity window (exclusive); must be a whole hour (minutes and seconds 0). | |
| account_id | Yes | X Ads account ID from X_ADS_ACCOUNT_IDS. | |
| start_time | Yes | ISO 8601 start of the activity window; must be a whole hour (minutes and seconds 0). | |
| campaign_ids | No | Comma-separated campaign IDs to scope the check to (max 200; exclusive with the other ids filters). | |
| line_item_ids | No | Comma-separated line item IDs to scope the check to (max 200; exclusive with the other ids filters). | |
| funding_instrument_ids | No | Comma-separated funding instrument IDs to scope the check to (max 200; exclusive with the other i... |
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. |