LinkedIn Ads Read
User wants a forecast of impressions, clicks, and spend for a LinkedIn campaign
POST https://api.adspirer.ai/api/v1/tools/forecast_linkedin_campaign_supply/execute
Authorization: Bearer sk_live_... — your Adspirer API key (required)Content-Type: application/json (required)Idempotency-Key: <uuid> — recommended for write operations to make retries safeAll tool arguments are wrapped in an arguments object.
| Field | Type | Description |
|---|---|---|
campaign_id | string required | Campaign ID whose targeting to forecast. The campaign's saved targeting is used. |
daily_budget | number optional | Daily budget to forecast against (defaults to $50/day if omitted and no total_budget). |
total_budget | number optional | Total budget to forecast against (alternative to daily_budget). |
objective_type | string optional | Campaign objective for the forecast (e.g. WEBSITE_VISIT, BRAND_AWARENESS, ENGAGEMENT, LEAD_GENERATION, VIDEO_VIEWS). Defaults to the campaign's own objective. |
bid_amount | number optional | CPM bid amount to forecast against (default 15). Higher bids forecast more delivery. default: 15 |
start_date | string optional | Forecast window start (ISO date, must be future). Defaults to tomorrow. |
end_date | string optional | Forecast window end (ISO date). Defaults to ~30 days out. |
account_id | string optional | LinkedIn Ad Account ID. Required for multi-account users. Get from list_connected_accounts. |
{
"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"
}
}
{
"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"
}
{
"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"
}
{
"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"
}
}
Interactive: Swagger UI
Machine-readable: OpenAPI 3.1 spec · llms-full.txt
More tools: LinkedIn Ads · All tools
Adspirer REST API — get an API key at adspirer.ai/keys · adspirer.ai