Skip to content

x_ads_get_line_item

Get a single line item by ID Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.

View as Markdown

Get a single line item by ID 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

Parameters

Parameters
NameTypeRequiredNotes
account_idstringRequiredX Ads account ID selected in Sources.
line_item_idstringRequiredLine item ID belonging to the selected X Ads account.
with_deletedbooleanOptionalInclude the line item even if soft-deleted (default false).

Calling it

json · Through run_tool, since it is not announced
{
  "name": "run_tool",
  "arguments": {
    "name": "x_ads_get_line_item",
    "args": {
      "account_id": "<string>",
      "line_item_id": "<string>"
    }
  }
}

Manage your ads from your AI assistant

Start for free

Free with 1 ad account, no card. Pro is free for 7 days.

Esc

Type to search