Skip to the content

linkedin_ads.searchAvailable

LinkedIn Ad Library search

The ads the library lists, newest first: the advertiser, the kind of ad, its text, headline, images, document pages and carousel slides.

Give it an advertiser's name, words to search the ads for, or who paid for them, with countries and dates.

1 unit a record, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a record
Inputs
7
Record
15 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/linkedin_ads.search/runs

{
"input": {
"advertiser": "Deloitte",
"countries": ["GB"],
"max_results": 5
}
}

sent, and answered

a record of the run15 fields

{
position: 1
ad_id: "1609212913"
url: "https://www.linkedin.com/ad-library/detail/1609212913"
advertiser_name: "Deloitte"
advertiser_logo: "https://media.licdn.com/dms/image/v2/C560BAQGNtpblgQpJoQ/company-logo_…
format: "Video Ad"
creative_type: "SPONSORED_VIDEO"
text: "Deloitte projects are always a team effort.\n\nThat means we listen to…
text_truncated: true
… 6 more fields

ok1 unit a record

A record this scraper returned for this input. The first 9 of its 15 fields are set down here; the whole record is below.

linkedin.com
The page LinkedIn Ad Library search reads, as a browser shows it
The page this scraper reads, photographed in a browser on 19 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Watch a competitor on LinkedIn
List the ads an advertiser runs, newest first, with each one's format, text, headline and images, to see what it promotes now.
Find who advertises a topic
Search the ads by keyword in chosen countries and see from advertiser_name which organisations advertise it, and in which kinds of ad.
Collect B2B ad creative
Gather the text, headline, images, document_pages and slides of the ads in one field for a swipe file.

What you send

An advertiser's name, words to search the ads for, or who paid for them, with countries and dates. These are its 7 inputs, as its schema has them.

advertiserstring Optional
The advertiser's name, as on its LinkedIn page. Give at least one of advertiser, keyword and payer.
keywordstring Optional
Words to search the ads for.
payerstring Optional
The name of whoever paid for the ads, such as an agency.
countrieslist of strings Optional
Only ads shown in these countries: two-letter codes such as US or DE. Every country when left out.
ran_fromstring Optional
Only ads that ran on or after this day. Give it with ran_to.
ran_tostring Optional
Only ads that ran on or before this day.
max_resultsinteger Optional
The most ads to return: 1 to 120, 24 unless you say otherwise.Default 24

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/linkedin_ads.search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"advertiser":"Deloitte","countries":["GB"],"max_results":5}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("linkedin_ads.search", {
    "advertiser": "Deloitte",
    "countries": ["GB"],
    "max_results": 5,
})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("linkedin_ads.search", {
  advertiser: "Deloitte",
  countries: ["GB"],
  max_results: 5,
});
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "linkedin_ads.search", map[string]any{"advertiser": "Deloitte", "countries": []any{"GB"}, "max_results": 5})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.List;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("linkedin_ads.search", Map.of("advertiser", "Deloitte", "countries", List.of("GB"), "max_results", 5));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run linkedin_ads.search --input-json '{"advertiser":"Deloitte","countries":["GB"],"max_results":5}'

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

The ads the library lists, newest first: the advertiser, the kind of ad, its text, headline, images, document pages and carousel slides. A record has 15 fields. One we could not read is null, never an empty string or a zero.

A record linkedin_ads.search returned
{
  "position": 1,
  "ad_id": "1609212913",
  "url": "https://www.linkedin.com/ad-library/detail/1609212913",
  "advertiser_name": "Deloitte",
  "advertiser_logo": "https://media.licdn.com/dms/image/v2/C560BAQGNtpblgQpJoQ/company-logo_100_100/company-logo_100_100/0/1662120928214/deloitte_logo?e=1796860800&v=beta&t=3ELVNRGPjgG86gGiaoyWjiwVWydHFiFgOUodub3yQ_o",
  "format": "Video Ad",
  "creative_type": "SPONSORED_VIDEO",
  "text": "Deloitte projects are always a team effort.\n\nThat means we listen to each other to support each other’s needs and use ou…",
  "text_truncated": true,
  "headline": "What Matters To You?",
  "images": [
    "https://media.licdn.com/dms/image/v2/D4D10AQGDLuKhKAUbqw/videocover-high/B4DaE15HP9JMBM-/0/1791905531701?e=2147483647&v=beta&t=lDURNElrhmP5ukbVDRcH7Y5QlxP18dEjRnWQ5bXGawI"
  ],
  "document_pages": [],
  "slides": [],
  "event_time": null,
  "fetched_at": "2026-11-19T18:07:40.932729Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

The fields of a record

positioninteger
The ad's place in the results, from 1.
ad_idstring
LinkedIn's id of the ad: the number in its address in the library.
urlstring
The ad's page in the Ad Library.
advertiser_namestring or null
The organisation that runs the ad.
advertiser_logostring or null
The advertiser's logo.
formatstring or null
The kind of ad, as the library names it, e.g. Single Image Ad, Video Ad, Carousel Ad, Document Ad, Message Ad, Event Ad, Spotlight Ad.
creative_typestring or null
LinkedIn's own code for the kind of ad, e.g. SPONSORED_STATUS_UPDATE, SPONSORED_VIDEO.
textstring or null
The ad's text. A results page cuts a long text short; linkedin_ads.ad returns it whole.
text_truncatedboolean
True when the results page cut the text short (it then ends with …).
headlinestring or null
The headline under the image or video.
imageslist of strings
The ad's image, or the still of its video.
document_pageslist of strings
The preview pages of a document ad, as images.
slideslist of objects
The slides of a carousel ad, in order.Each holds title, image, link_url.
event_timestring or null
When an event ad's event takes place, as the library writes it.
fetched_atdatetime
When the library was read, in UTC.

The whole schema, in its reference

Units and limits

Counted per record
Billed per record: a run that returns data costs 1 unit for each record it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • A results page cuts a long text short. linkedin_ads.ad returns it whole, with the dates, impressions, targeting and who paid.
  • The library keeps an ad for a year after it last ran.
  • 120 ads a run at most. When the library stops answering part-way, the run ends as partial with the ads read so far.

The bounds its schema sets

countries
at most 20 items
max_results
1 to 120; 24 unless you say otherwise

Scraper API pricing: how units workThe five ways a run ends

Questions

What does LinkedIn Ad Library search return?

The ads the library lists, newest first: the advertiser, the kind of ad, its text, headline, images, document pages and carousel slides. A record has 15 fields, among them position, ad_id, url, advertiser_name, advertiser_logo and format. A value that could not be read is null, never an empty string or a zero.

What do I send?

An advertiser's name, words to search the ads for, or who paid for them, with countries and dates. Optional: advertiser, keyword, payer, countries, ran_from, ran_to and max_results.

How is it counted?

Billed per record: a run that returns data costs 1 unit for each record it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

How much does one run return?

Its schema sets these bounds: countries at most 20 items; max_results 1 to 120 (24 unless you say otherwise). A run may take up to 5 minutes.

What does it not do?

A results page cuts a long text short. linkedin_ads.ad returns it whole, with the dates, impressions, targeting and who paid. The library keeps an ad for a year after it last ran. 120 ads a run at most. When the library stops answering part-way, the run ends as partial with the ads read so far.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id linkedin_ads.search and the same input. It costs what the same API call costs.

Used in these playbooks

A playbook runs LinkedIn Ad Library search as one of its steps and hands back the finished list. Its runs of this scraper cost what they cost here, and the playbook adds nothing.

  • Marketing

    Ad Creative Research

    A competitor's ads on Meta, Google Ads and LinkedIn, with copy, landing page and how long each has run, longest first.

  • Sales

    Ad-Activity Trigger

    Companies running ads about your topic on Meta and LinkedIn now, sized up, with their marketing lead to contact.

LinkedIn Ad Library

The ads in the LinkedIn Ad Library, the public register of advertising on LinkedIn.

  • LinkedIn Ad Library ad

    linkedin_ads.ad

    An ad's id, or its address in the LinkedIn Ad Library. That ad: the advertiser, who paid, the whole text, headline, link, buttons, images, video, document pages and carousel slides, and for an ad shown in the European Union the dates, impressions by country and targeting.

LinkedIn Ad Library on the line-up

Where
Worldwide

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.