forecast_linkedin_campaign_supply

LinkedIn Ads Read

User wants a forecast of impressions, clicks, and spend for a LinkedIn campaign

Endpoint

POST https://api.adspirer.ai/api/v1/tools/forecast_linkedin_campaign_supply/execute

Headers

Description

User wants a forecast of impressions, clicks, and spend for a LinkedIn campaign. Forecasts campaign delivery (impressions, clicks, spend) for a campaign's saved targeting at a given budget and bid, using LinkedIn's adSupplyForecasts. Great for "what will I get for $X/day?" planning questions before launching or scaling. Parameters: - campaign_id: Campaign whose targeting to forecast (required) - daily_budget or total_budget: Budget to forecast against (defaults to $50/day) - objective_type: Campaign objective (WEBSITE_VISIT, BRAND_AWARENESS, ENGAGEMENT, LEAD_GENERATION, VIDEO_VIEWS) - bid_amount: CPM bid to forecast against (default $15) - start_date / end_date: Forecast window (defaults to the next ~30 days) - account_id: Optional LinkedIn Ad Account ID Returns: - 30-day forecast for impressions, clicks, and spend with low/high ranges Example Prompts: - "What will I get for $100/day on campaign 12345?" - "Forecast the impressions for my campaign" - "How many clicks can I expect if I double the budget?" Execution time: 3-6 seconds

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
campaign_idstring requiredCampaign ID whose targeting to forecast. The campaign's saved targeting is used.
daily_budgetnumber optionalDaily budget to forecast against (defaults to $50/day if omitted and no total_budget).
total_budgetnumber optionalTotal budget to forecast against (alternative to daily_budget).
objective_typestring optionalCampaign objective for the forecast (e.g. WEBSITE_VISIT, BRAND_AWARENESS, ENGAGEMENT, LEAD_GENERATION, VIDEO_VIEWS). Defaults to the campaign's own objective.
bid_amountnumber optionalCPM bid amount to forecast against (default 15). Higher bids forecast more delivery. default: 15
start_datestring optionalForecast window start (ISO date, must be future). Defaults to tomorrow.
end_datestring optionalForecast window end (ISO date). Defaults to ~30 days out.
account_idstring optionalLinkedIn Ad Account ID. Required for multi-account users. Get from list_connected_accounts.

Example request

{
  "arguments": {
    "campaign_id": "<campaign_id>",
    "daily_budget": 1.0,
    "total_budget": 1.0,
    "objective_type": "string",
    "bid_amount": 15,
    "start_date": "string",
    "end_date": "string"
  }
}

Example responses

200 — Success

{
  "success": true,
  "data": {
    "text": "(tool-specific textual output for forecast_linkedin_campaign_supply)",
    "quota": {
      "used": 42,
      "limit": 150,
      "tier": "plus",
      "period_end": "2026-05-01"
    }
  },
  "tool": "forecast_linkedin_campaign_supply"
}

400 — Tool-level error (bad arguments / multi-account selection)

{
  "success": false,
  "error": "You have 25 meta_ads accounts connected. Please specify which account to use by passing the ad_account_id parameter:\n  - Acme Holdings (ad_account_id=\"act_123456789\")\n  - Acme EU (ad_account_id=\"act_987654321\")",
  "is_error": true,
  "tool": "forecast_linkedin_campaign_supply"
}

402 — Quota exhausted

{
  "success": false,
  "error": "\ud83d\udea8 Monthly limit reached (150/150 tool calls on Plus tier).\nUpgrade to Pro at https://adspirer.ai to keep building.",
  "is_error": true,
  "tool": "forecast_linkedin_campaign_supply",
  "quota": {
    "used": 150,
    "limit": 150,
    "tier": "plus",
    "period_end": "2026-05-01",
    "upgrade_url": "https://adspirer.ai"
  }
}

Try it live


Adspirer REST API — get an API key at adspirer.ai/keys · adspirer.ai