Get LinkedIn Campaign Structure
User wants full details about a specific LinkedIn campaign.
Get complete campaign structure including creatives, targeting, and configuration.
Returns:
- Campaign details (name, status, objective, budget, schedule)
- All creatives/ads linked to campaign
- Full targeting criteria with resolved names
- Conversion tracking setup
- Campaign Manager link
Parameters:
- campaign_id: Campaign ID to fetch (required)
- account_id: Optional LinkedIn Ad Account ID
Example Prompts:
- “Show me details for campaign 123456”
- “What’s the targeting for my LinkedIn campaign?”
- “How many ads are in my campaign?”
Execution time: 3-5 seconds
Authorizations
API key from https://adspirer.ai/keys. Prefix sk_live_. Treat as a secret — never commit.
Headers
Client-generated UUID to make writes idempotent. Strongly recommended for write tools. A repeat call with the same key returns the cached result instead of re-executing. Example: 550e8400-e29b-41d4-a716-446655440000
Body
All tool arguments are wrapped in an arguments object. The fields accepted inside arguments are listed below — required fields are marked with a red asterisk.
Input schema for getting full campaign structure
Response
Tool executed successfully. data.text carries the human-readable result (markdown-friendly). data.quota shows your current usage against the plan limit. data.structured appears when the tool emits machine-parseable structured content. data.content appears for tools that return non-text blocks (images, resources).
Returned on HTTP 200. data.text is the primary human-readable output. data.quota is always present for billable calls. data.structured is set only when the tool emits machine-parseable structured content. data.content is set only when the tool emits non-text content blocks.

