LinkedIn Marketing API

Programmatic interface to create, manage, and report on LinkedIn ad campaigns including Sponsored Content, Message Ads, Dynamic Ads, and Lead Gen Forms across professional audience segments.

Evaluated Mar 06, 2026 (0d ago) vcurrent
Homepage ↗ Developer Tools linkedin b2b ads campaigns lead-gen professional sponsored-content
⚙ Agent Friendliness
50
/ 100
Can an agent use this?
🔒 Security
82
/ 100
Is it safe for agents?
⚡ Reliability
74
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
--
Documentation
72
Error Messages
68
Auth Simplicity
60
Rate Limits
60

🔒 Security

TLS Enforcement
100
Auth Strength
80
Scope Granularity
76
Dep. Hygiene
78
Secret Handling
78

All traffic over TLS. OAuth 2.0 with user-delegated tokens. Scopes are reasonably granular (read vs write vs reporting separated). No service account support makes secret management more complex — the authorizing user's credentials are effectively tied to the integration. Webhook support is absent, so polling is required.

⚡ Reliability

Uptime/SLA
78
Version Stability
75
Breaking Changes
70
Error Recovery
72
AF Security Reliability

Best When

You are running B2B campaigns targeting professionals by job function, seniority, or company attributes and need programmatic control over campaign structure and reporting.

Avoid When

Your budget is limited (LinkedIn CPMs are expensive) or you need granular real-time audience segmentation beyond LinkedIn's professional attributes.

Use Cases

  • Automate creation of Sponsored Content campaigns targeting specific job titles, industries, or company sizes
  • Pull campaign performance metrics and lead gen form submissions for B2B pipeline reporting
  • Sync matched audiences from CRM contact lists on a scheduled basis
  • Pause campaigns when monthly budget thresholds are reached and send alerts
  • Create A/B test variants of ad creatives and rotate them based on engagement metrics

Not For

  • Consumer-focused B2C advertising where professional targeting is not relevant
  • High-volume retargeting campaigns where CPMs are a primary concern — LinkedIn CPMs are significantly higher than other platforms
  • Real-time event-driven bidding or programmatic display outside of LinkedIn's inventory

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
No
SDK
No
Webhooks
No

Authentication

Methods: oauth2
OAuth: Yes Scopes: Yes

Requires OAuth 2.0 with LinkedIn's authorization flow. Marketing API access requires applying for the Marketing Developer Platform (MDP) partner program — standard LinkedIn app credentials do not include ads write access. Required scopes include r_ads, rw_ads, r_ads_reporting. Access tokens expire in 60 days and must be refreshed. Service accounts are not natively supported; OAuth flows require a human user to authorize, which complicates fully automated pipelines.

Pricing

Model: free
Free tier: Yes
Requires CC: No

No API usage fees. Ad spend is billed to the Campaign Manager account. LinkedIn requires a minimum daily budget for campaigns. MDP partner program approval is required for full API access.

Agent Metadata

Pagination
cursor
Idempotent
No
Retry Guidance
Not documented

Known Gotchas

  • MDP partner program approval is required for ads write access — standard LinkedIn app credentials only grant read access to profiles and connections, and MDP approval can take weeks with no guaranteed outcome
  • OAuth tokens require a human user authorization step and expire in 60 days — fully automated agent pipelines must implement token refresh logic and handle the case where the authorizing user deactivates their LinkedIn account
  • Ad creatives go through a review process that can take up to 24 hours — campaign creation returns success but the campaign will not serve until creatives are approved; agents must poll creative status separately
  • Targeting facet values (industries, job functions, seniority levels) use internal LinkedIn URNs that are not human-readable — agents must maintain a mapping from URN to display name and these URNs change without notice
  • Analytics data is subject to a 3-day delay for some metrics and impression-level data is aggregated to protect member privacy — agents expecting real-time performance data will see incomplete results for recent date ranges

Alternatives

Full Evaluation Report

Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for LinkedIn Marketing API.

$99

Scores are editorial opinions as of 2026-03-06.

5215
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered