# x_ads_list_account_posts

> List posts (tweets) usable for promotion by an ads account Native X fields and pagination are preserved; monetary fields ending in _micro are millionths…

[Documentation](https://www.getmcpads.com/docs) / [Sources](https://www.getmcpads.com/docs/sources) / [X Ads](https://www.getmcpads.com/docs/sources/x-ads)

List posts (tweets) usable for promotion by an ads account Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.

|  |  |
| --- | --- |
| Source | [X Ads](https://www.getmcpads.com/docs/sources/x-ads) |
| Kind | Read |
| Discovery | Reachable through `search_tools` and `run_tool` |
| Account parameter | `account_id` |
| Endpoint | https://mcp.getmcpads.com/x-ads/mcp |

## Parameters

| Name | Type | Required | Notes |
| --- | --- | --- | --- |
| `account_id` | string | Required | X Ads account ID selected in Sources. |
| `count` | integer | Optional | Number of records to return per page (1-1000). |
| `cursor` | string | Optional | Pagination cursor from a previous response. |
| `include_mentions_and_replies` | boolean | Optional | Include mentions and replies in the results (default false). |
| `timeline_type` | string | Optional | Scope to promoted-only, organic or all posts (default NULLCAST). One of: `ALL`, `NULLCAST`, `ORGANIC`. |
| `trim_user` | boolean | Optional | Return only the author's user ID instead of the full user object (default false). |
| `tweet_ids` | string | Optional | Comma-separated post (tweet) IDs to scope the response to. |
| `tweet_type` | string | Required | Post type to list (the legacy API requires this filter). One of: `PUBLISHED`, `SCHEDULED`, `DRAFT`. |
| `user_id` | string | Optional | Promotable user whose posts to list (defaults to the account's own user). |

## Calling it

Through run_tool, since it is not announced

```json
{
  "name": "run_tool",
  "arguments": {
    "name": "x_ads_list_account_posts",
    "args": {
      "account_id": "<string>",
      "tweet_type": "PUBLISHED"
    }
  }
}
```

- [X Ads metrics](https://www.getmcpads.com/docs/sources/x-ads/metrics): What you can ask for.
- [X Ads dimensions](https://www.getmcpads.com/docs/sources/x-ads/dimensions): How you can break it down.

---

This page as HTML: https://www.getmcpads.com/docs/sources/x-ads/tools/x_ads_list_account_posts
Every page under /docs is available as Markdown: append `.md`, or send `Accept: text/markdown`.
