x ads list promoted posts
x_ads_list_promoted_postsRetrieve promoted posts from an X Ads account using pagination, sorting, and filters for line items or post IDs. Includes optional soft-deleted records for comprehensive campaign audits.
Instructions
List promoted posts (promoted tweets) for an ads account Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of records to return per page (1-1000). | |
| cursor | No | Pagination cursor from a previous response. | |
| sort_by | No | Sort order as attribute-direction, e.g. created_at-asc or updated_at-desc. | |
| account_id | Yes | X Ads account ID from X_ADS_ACCOUNT_IDS. | |
| with_deleted | No | Include soft-deleted promoted posts in the response (default false). | |
| line_item_ids | No | Comma-separated line item IDs to scope the promoted posts to. | |
| with_total_count | No | Include the total_count response attribute (default false; exclusive with cursor). | |
| promoted_tweet_ids | No | Comma-separated promoted post IDs to fetch specific records (max 200). |
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. |