x-ads / API Reference
x_ads_create_line_item
X (Twitter) Ads tool, proxied to X's own Ads MCP gateway. Create a line item (ad group) under an X campaign. Created PAUSED by X. This is where the money is set: daily_budget_micro is in micro-units, so $50.00 is 50000000. placements is comma-separated, e.g. "ALL_ON_TWITTER" or "PUBLISHER_NETWORK". start_time is ISO 8601.
This is a read-only tool: it returns x ads create line item for your x-ads account. It changes nothing.
Ask Claude
You do not call this tool yourself. Ask for the outcome and the client picks the tool:
X ads create line item in my x-ads account for [campaign id], [objective], [placements].
It takes 6 required and 4 optional parameters.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
account_id | string | Yes | Account Id |
campaign_id | string | Yes | Campaign Id |
objective | string | Yes | Objective |
placements | string | Yes | Placements |
daily_budget_micro | integer | Yes | Daily Budget Micro |
start_time | string | Yes | Start Time |
name | string | No | Name |
bid_amount_micro | integer | No | Bid Amount Micro |
end_time | string | No | End Time |
product_type | string | No | Product Type |
Related x-ads tools
x_ads_create_campaignx_ads_account_statsx_ads_activate_campaignx_ads_active_entitiesx_ads_add_targetingx_ads_call_tool
Before you can call it
This tool needs a connected x-ads account. The x-ads connect guide covers how to authorize it and what it unlocks, and the quickstart gets a client talking to the server in about five minutes.
Start free — 30 tool calls a month
No card required. Connect Google Ads, Meta Ads, GA4 or Search Console and ask Claude for the outcome — it picks the tool.