Active entities
x_ads_active_entitiesIdentify which campaign, line item, or promoted tweet IDs had activity in a time window before running analytics, avoiding empty data requests. Uses whole-hour ISO 8601 times.
Instructions
Which CAMPAIGN / LINE_ITEM / PROMOTED_TWEET ids had activity in a window. Call before analytics so you don't request empty ids. Times are whole-hour ISO 8601.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account_id": "<account_id>",
"entity": "<entity>",
"start_time": "<start_time>",
"end_time": "<end_time>"
},
"name": "x_ads_active_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | ||
| end_time | Yes | ||
| account_id | Yes | Ads API account id from x_ads_list_accounts, e.g. 18ce55v2od2 | |
| start_time | Yes |