Skip to content

X Ads 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. Works on your own X Ads account, connected through Get MCP Ads. Needs account id and line item id.

Inputs

2 required
Account ID
X Ads account ID selected in SourcesRequired · account_id
Line item ID
Line item ID belonging to the selected X Ads accountRequired · line_item_id
With deleted
Include the line item even if soft-deleted (default false)Optional · with_deleted
Workspace ID
Authorized workspace ID from list_accounts/list_workspacesOptional · workspace_id

Pricing

Price
$0.005 per call
Billing
The provider’s price, with no markup. Billed for measured usage.

Call

Your agent reads the schema and the price with inspect_tool before it runs the tool.

MCP call
cURL command
TypeScript
Tool ID

Alternatives

X Ads reporting

Connect your agent to 2,400+ tools for free

Sign in with Google or GitHub. No card required.