Skip to content

x_ads_activate_line_item

Activate a line item (set entity_status=ACTIVE). A write tool that previews before it changes anything, one of 51 X Ads tools on the Get MCP Ads MCP gateway.

View as Markdown

Activate a line item (set entity_status=ACTIVE). Once its parent campaign is also active, the line item becomes eligible to serve ads and SPEND REAL MONEY. This is the only tool that can activate a line item; confirm with the advertiser before calling it. Preview by default. Ask the user to approve the exact account, target and parameters before confirm:true.

Source
X Ads
Kind
Write
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.
confirmbooleanOptionalFalse previews only; true applies this exact change after explicit human confirmation. Default: false.

Calling it

json · Through run_tool, since it is not announced
{
  "name": "run_tool",
  "arguments": {
    "name": "x_ads_activate_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