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.
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_toolsandrun_tool - Account parameter
account_id- Endpoint
- https:/
/ mcp. getmcpads. com/ x-ads/ mcp
ParametersLink to this section
| Name | Type | Required | Notes |
|---|---|---|---|
account_id | string | Required | X Ads account ID selected in Sources. |
line_item_id | string | Required | Line item ID belonging to the selected X Ads account. |
with_deleted | boolean | Optional | Include the line item even if soft-deleted (default false). |
Calling itLink to this section
{
"name": "run_tool",
"arguments": {
"name": "x_ads_get_line_item",
"args": {
"account_id": "<string>",
"line_item_id": "<string>"
}
}
}