estimate_linkedin_audience_size

LinkedIn Ads Read

User wants to know how many people a LinkedIn campaign's targeting reaches

Endpoint

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

Headers

Description

User wants to know how many people a LinkedIn campaign's targeting reaches. Estimates the audience size for a campaign's saved targeting using LinkedIn's audienceCounts. Useful to check a campaign isn't too narrow — LinkedIn requires at least 300 members to run, and reports 0 for audiences under 300 (for member privacy). Parameters: - campaign_id: Campaign whose targeting to estimate (required) - account_id: Optional LinkedIn Ad Account ID Returns: - Estimated total audience size and whether it meets the 300-member minimum Example Prompts: - "How big is the audience for campaign 12345?" - "Is my targeting too narrow?" - "How many people will campaign X reach?" Execution time: 2-4 seconds

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
campaign_idstring requiredCampaign ID whose targeting to estimate the audience size for. The campaign's saved targeting is read and used for the estimate.
account_idstring optionalLinkedIn Ad Account ID. Required for multi-account users. Get from list_connected_accounts.

Example request

{
  "arguments": {
    "campaign_id": "<campaign_id>",
    "account_id": "string"
  }
}

Example responses

200 — Success

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

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": "estimate_linkedin_audience_size"
}

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": "estimate_linkedin_audience_size",
  "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