LinkedIn Ads API

LinkedIn's Advertising API is part of the Marketing Developer Platform, which requires a partner application and compliance review. Zernio wraps it behind a simple REST surface so you can launch campaigns, boost posts, and pull analytics without the gatekeeping.

  • Free tier
  • No credit card
  • 99.97% uptime
Kestrel Studio4,182 followers · Promoted

Online stores your customers love to shop on.

Launch your new store in 6 weekskestrel.studio
Learn more
128 · 14 comments
LinkedIn AdsLast 7 days$684

Join 200,000+ of the world's most ambitious developers and builders

Warner Music Group
Runable
ClickUp
MoFlo
RE/MAX
Readdy
How it works

Live in three steps, no LinkedIn Ads developer approval

1

Profile

default

LinkedIn Ads

Connect LinkedIn Ads

Sign up for free, get your API key and connect LinkedIn Ads ad accounts through our OAuth flow.

2

POST /v1/ads/create

const { data } = await zernio.adcampaigns.createStandaloneAd({
  body: {
    accountId: 'acc_8f2a',
    adAccountId: '512345678',
    name: 'Spring launch',
    goal: 'traffic',
    budgetAmount: 25,
    budgetType: 'daily',
    headline: 'Ship faster with Acme',
    body: 'The platform for product teams.',
    imageUrl: 'https://cdn.acme.com/launch.jpg',
    linkUrl: 'https://acme.com',
    countries: ['US', 'GB'],
  },
});

Launch a campaign

Create the campaign, its budget, targeting and creative in one API call.

3

Retargeting

$30/day

Paused

Summer Sale

$40/day

$0.94 CPC

Launch Push

$18/day

$412

Track the results

Spend and results sync back. Pause ads, change budgets and pull reports from the same API.

Endpoints

LinkedIn Ads endpoints on one REST API

EndpointWhat it does
POST/v1/ads/createCreate a Campaign Group, Campaign, or Creative on LinkedIn
POST/v1/ads/boostPromote an existing Company Page post as Sponsored Content
GET/v1/ads/{id}Get details and current spend of a LinkedIn ad
PUT/v1/ads/{id}Update status, budget, or schedule of a LinkedIn ad
DELETE/v1/ads/{id}Archive a LinkedIn ad
GET/v1/ads/{id}/analyticsImpressions, clicks, CTR, CPC, CPM
GET/v1/ads/campaignsList all campaigns across connected LinkedIn ad accounts
Media specs

What you can upload to LinkedIn Ads

Zernio transcodes and optimizes media for LinkedIn Ads's requirements automatically.

linkedin-ads/media-specs
TypeFormatMax sizeNotes
Single ImageJPEG, PNG, GIF5 MBRecommended 1200x627 (1.91:1)
VideoMP4200 MB3 sec to 30 min, 75 MB recommended
CarouselJPEG, PNG10 MB / card2-10 cards, 1080x1080
HeadlineText200 charsIntro text
BodyText600 charsPrimary description
Capabilities

Everything the API handles for you

LinkedIn enforces application-level and per-member rate limits. Zernio pools requests across customers and handles 429 responses automatically with exponential backoff.

Boosted posts

Boost existing Company Page posts.

Location and language

Target by location and language.

Matched Audiences

Read Matched Audiences across any ad account.

No MDP application

No Marketing Developer Platform application required.

Live metrics

Real-time spend, CTR, CPC, and CPM.

Pause, edit, resume

Change any ad's state with PUT /v1/ads/{id}.

Full hierarchy

Campaign Group → Campaign → Creative, managed through one API.

Start building with the LinkedIn Ads API

Free tier available. No credit card required.

  • Free tier
  • No credit card
  • 99.97% uptime