Go to example tasks

Top ads by impressions for a keyword

Find who's advertising for any topic. Drop in a Meta Ad Library keyword URL and scrape every matching advertiser's ads, sorted by top impressions first.

Try for free
Facebook Ads Library Scraper
Facebook Ads Library Scraperapify/facebook-ads-scraper
Page name
Page about
Total count
Ad text
+10 fields
Text
Number
Boolean
List
Object

Input

🔗 Meta Ad Library URL or Facebook Page URL(required)
url:https://www.facebook.com/ads/library/?active_status=active&ad_type=all&content_languages[0]=en&country=ALL&is_targeted_country=false&media_type=all&q=protein%20powder&search_type=keyword_unordered&sort_data[mode]=total_impressions&sort_data[direction]=desc
💯 Results limit per URL:10
🖱️ Active status (if not specified within the Meta Ad Library URL):active
🗂️ Sorting (if not set in the Meta Ad Library URL):total_impressions

Output fields

Page name
Page about
Total count
Ad text
Ad format
Is active
Spent
Reach estimate
Impressions
Published at
Start date
End date
Age gender data
Location data

How it works

Sign up on Apify or log in

The Facebook Ads Library Scraper Actor is ready to run with the inputs already set for "Top ads by impressions for a keyword". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Top ads by impressions for a keyword" task

The Facebook Ads Library Scraper Actor will start running based on the input automatically. You can also change all the input fields, like 🔗 meta ad library url or facebook page url, 💯 results limit per url, and more, to match your specific use case.

Receive the "Top ads by impressions for a keyword" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as page name, page about, total count, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Top ads by impressions for a keyword" task via API.

Image

Integrate "Top ads by impressions for a keyword" into your workflow

Connect "Top ads by impressions for a keyword" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

The Top ads by impressions for a keyword task returns ad text, format, impressions, pages, reach estimates, and spending data for advertisers on Meta platforms.

This task requires a Meta Ad Library keyword URL that targets ads related to the specified keyword in your search.

The ads retrieved by this task are sorted by total impressions, showcasing the most viewed ads first.

This task can be scheduled to run automatically via the Apify Console for regular ad monitoring.

The reach estimate provides an approximation of how many unique users have seen the ad, contributing to its performance metrics.

The spend estimate indicates the estimated range of money spent on a specific ad, helping to gauge its investment.

This task scrapes ads published across Meta platforms, including Facebook, Instagram, WhatsApp, Threads, and others.

The ad data output includes fields such as ad text, impressions, total ad count, active status, and demographic data.