Skip to content
Get MCP AdsGet MCP Ads, home

x_ads_list_cards

List the cards in an ads account Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.

List the cards in 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.
card_idsstringOptionalComma-separated card IDs to fetch specific cards (max 200).
card_typesstringOptionalComma-separated unified card types to filter by, e.g. IMAGE_WEBSITE, VIDEO_WEBSITE, IMAGE_APP, VI...
card_urisstringOptionalComma-separated card URIs to fetch specific cards (max 200).
countintegerOptionalNumber of records to return per page (default 100, max 200).
cursorstringOptionalPagination cursor from a previous response.
include_legacy_cardsbooleanOptionalInclude legacy (non-unified) cards in the response (default false).
qstringOptionalSearch query matching against the card name.
sort_bystringOptionalSort order as attribute-direction, e.g. created_at-asc or updated_at-desc.
with_deletedbooleanOptionalInclude soft-deleted cards (default false).
with_total_countbooleanOptionalInclude the total_count response attribute (default false; exclusive with cursor).

Calling itLink to this section

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

Type to search