Skip to content
Get MCP AdsGet MCP Ads, home

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…

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
Kind
Read
Discovery
Reachable through search_tools and run_tool
Account parameter
account_id
Endpoint
https://mcp.getmcpads.com/x-ads/mcp

ParametersLink to this section

NameTypeRequiredNotes
account_idstringRequiredX Ads account ID selected in Sources.
countintegerOptionalNumber of records to return per page (1-1000).
cursorstringOptionalPagination cursor from a previous response.
include_mentions_and_repliesbooleanOptionalInclude mentions and replies in the results (default false).
timeline_typestringOptionalScope to promoted-only, organic or all posts (default NULLCAST). One of: ALL, NULLCAST, ORGANIC.
trim_userbooleanOptionalReturn only the author's user ID instead of the full user object (default false).
tweet_idsstringOptionalComma-separated post (tweet) IDs to scope the response to.
tweet_typestringRequiredPost type to list (the legacy API requires this filter). One of: PUBLISHED, SCHEDULED, DRAFT.
user_idstringOptionalPromotable user whose posts to list (defaults to the account's own user).

Calling itLink to this section

jsonThrough run_tool, since it is not announced
{
  "name": "run_tool",
  "arguments": {
    "name": "x_ads_list_account_posts",
    "args": {
      "account_id": "<string>",
      "tweet_type": "PUBLISHED"
    }
  }
}
Esc

Type to search