FACEBOOK AD LIBRARY API

Find advertisers, their ads and individual creatives.

Research Meta Ad Library from one clear workflow. Find the correct advertiser Page ID, collect ads from that advertiser, search ads by keyword, inspect a known ad by ID, or retrieve video-ad transcripts.

3credits per delivered advertiser or ad
200maximum company or keyword ads
4search and detail paths
THE CORRECT AD WORKFLOW

Resolve the advertiser before collecting its ads.

A normal Facebook profile lookup is not an advertiser search. Use Advertiser search to find the Meta Ad Library Page ID, then pass that ID to Company ads.

01

Advertiser search

Search a brand name and receive matching advertiser Page IDs from Meta Ad Library.

02

Company ads

Use the chosen Page ID to collect ads from that exact advertiser instead of relying on a name match.

03

Keyword ad search

Find ad creatives whose copy or associated metadata matches a topic across advertisers.

04

Ad details and transcripts

Inspect a known ad ID or extract spoken content from a video creative.

ADVERTISER RESULT

The Page ID is the bridge to company ads.

Choose the record whose page name and URL match the advertiser you intend to research.

Example advertiser search result
{
  "platform": "facebook",
  "page_id": "140858439260130",
  "page_name": "Cadbury",
  "page_url": "https://www.facebook.com/CadburyUK/",
  "profile_picture_url": "https://...",
  "page_like_count": 16100000,
  "categories": ["Food & beverage company"]
}
Example shape. Brand names can produce several advertisers; verify the name, page URL and image before using the Page ID.
BRAND NAME TO CREATIVE

Different questions use different Ad Library inputs.

Advertiser search resolves who is advertising; Company ads returns that advertiser's creatives; Ad search finds creatives about a keyword; Ad by ID retrieves one known record.

  1. 01
    Search the advertiserEnter a brand such as Cadbury and inspect the returned names, page links and Page IDs.
  2. 02
    Choose the correct Page IDSelect the advertiser identity that matches the company you mean.
  3. 03
    Collect or inspect adsUse Company ads for the advertiser set, Ad search for a topic, or Ad by ID for one known creative.
AD LIBRARY RESEARCH

Move from a brand name to the exact ads it is running.

Competitor ad monitoringCreative researchOffer and CTA analysisAdvertiser discovery
QUESTIONS

Facebook Ad Library questions.

Why not use the Facebook Page operation to find an advertiser?

A Facebook handle can resolve to a person or similarly named Page. Advertiser search queries Meta Ad Library identities and returns the Page ID required by Company ads.

What is the difference between Company ads and Ad search?

Company ads returns creatives from one Page ID. Ad search finds ads matching a keyword across advertisers.

Why use Ad by ID if the ad appeared in a list?

Use it when an application already stores an ad ID, when you need to refresh one creative, or when a user opens an individual-ad view without retrieving the whole list again.

How is Ad Library data billed?

Advertiser search, Company ads, Ad search and Ad by ID cost three credits per delivered item. Video transcripts use their separate transcript price.

SEARCH AN ADVERTISER

Start with a company name and choose the exact Page ID.

Get 200 free credits