Integration

BuySellAds integration

BuySellAds (the ad network behind Carbon Ads) Advertiser API reports on your campaigns: list your line items with goal, unit cost, budget and schedule, and pull impressions, clicks, CTR and spend per line item per day, per creative for the period, or per creative per day. Every tool covers the current month (UTC) unless you pass startDate and endDate, and returns all records at once (no pagination). It is read-only; the CSV export option and the publisher Ad Serving API are not exposed. Authentication is a private API key, requested from your BuySellAds account manager, sent as the key query parameter.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in BuySellAds.Built from the 4 BuySellAds tools below, on the connection you add once.

What you can do with BuySellAds

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Creative, 1 operation

  • list_creativesList creativesGETReturns each creative (ad) of your line items with its totals for the period (current month by default, UTC): impressions, clicks, CTR, spend, link and rotation weight.

Creative daily stat, 1 operation

  • list_creative_daily_statsList creative daily statsGETReturns one row per creative per day (current month by default, UTC) with impressions, clicks, CTR, spend, link and the creative's images and text.

Daily stat, 1 operation

  • list_daily_statsList daily statsGETReturns one row per line item per day (current month by default, UTC) with impressions, clicks, CTR and spend. Filter with lineitemId and a date range; no pagination.

Line item, 1 operation

  • list_line_itemsList line itemsGETLists your line items active in the date range (current month by default, UTC): order, placements, goal, unit cost, budget, paused and schedule. All records at once, no pagination.

Use BuySellAds from Claude Code, Cursor or Codex

Connect BuySellAds in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its BuySellAds operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect BuySellAds

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect BuySellAds once

    Add your BuySellAds connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

BuySellAds integration FAQ

What can you do with the BuySellAds integration?

LiveContext exposes 4 operations on BuySellAds, covering creative, creative daily stat, daily stat and line item.

Popular integrations

Browse the whole catalog