Facebook Ad Library Web Scraper avatar

Facebook Ad Library Web Scraper

Try for free

3 days trial then $10.00/month - No credit card required now

View all Actors
Facebook Ad Library Web Scraper

Facebook Ad Library Web Scraper

alexrt/facebook-ad-library-web-scraper
Try for free

3 days trial then $10.00/month - No credit card required now

Scrape advertising data from one or multiple Facebook Pages(Facebook Ad Library ).Fast and cost-effective

Facebook Ad Library Web Scraper

Overview

The Facebook Ad Library Web Scraper is a user-friendly and efficient tool designed to extract detailed information from Facebook ads. By simply entering a Facebook page URL, you can gather key data related to advertisements, making it ideal for competitive analysis and optimizing ad performance.

We continuously optimize based on customer feedback to ensure the fastest and most economical service.

What Data Can You Extract?

Using the Facebook API, you can extract the following information from Facebook ads:

  • Page ID: The unique identifier for the Facebook page.
  • Ad Information: Including the ad text, description, video link, start date, URL, and title.
  • Timestamps: The exact time when the ad was posted or updated.
  • Images: All images associated with the ad.
  • Publisher Platforms: Where the ads are being displayed (Facebook, Instagram, etc.).

Why Use the Facebook Ad Library Web Scraper?

  • Competitive Intelligence: Gain insights into your competitors' ads.
  • Cost Efficiency: Benefit from a faster, more cost-effective solution for ad data collection. We continuously optimize based on customer feedback to ensure the fastest and most economical service.

How to Use Facebook Ad Library Web Scraper

Even if you’re new to web scraping, this tool makes it easy to extract Facebook ad data in just a few steps:

  1. Create an Apify Account: Sign up for a free account using your email.
  2. Open the Facebook Ad Library Web Scraper: Find the tool on the Apify platform.
  3. Add Facebook URLs: Enter one or more Facebook page URLs or ad URLs to scrape their ads.
  4. Click "Start": The scraper will begin extracting the data.
  5. Download Your Data: Export the scraped data in JSON, XML, CSV, Excel, or HTML format.

Input Format

Provide Facebook Ads URLs, such as:

https://www.facebook.com/ads/library/?active_status=all&ad_type=all&country=ALL&q=%7B%7D&sort_data[direction]=desc&sort_data[mode]=relevancy_monthly_grouped&start_date[min]=2022-10-12&start_date[max]=&search_type=keyword_unordered&media_type=video
https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=ALL&media_type=all&search_type=page&view_all_page_id=page_internal

Ensure you include filters, settings, and the number of scrolls for ads per page.

Output Example

Below is an example of the data you can expect to retrieve:

1{
2    "adId": "764313432333653",
3    "status": "Active",
4    "startDate": "Aug 10, 2024",
5    "imageUrl": "https://scontent-lax3-2.xx.fbcdn.net/v/t39.35426-6/454542253_1428626817824715_5108798439742105186_n.jpg?stp=dst-jpg_s60x60&_nc_cat=103&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=zjGy5mPdQRkQ7kNvgHGMjaP&_nc_ht=scontent-lax3-2.xx&oh=00_AYCTZbHmidesDLiTiRPM9coXuPrvsrL7DdSZWRXxG1M5Vg&oe=66E63048",
6    "title": "Beautyuo shop",
7    "description": "😎👖 Discover the latest in tactical waterproof pants! 🌫️ Crafted from military-grade fabric, these pants are waterproof, breathable, and feature multiple pockets with reinforced seams. 💪 With an expandable waistband and built-in knee pockets, you'll have 10 large load-bearing pockets at your disposal! 🛒 Grab yours now 👉",
8    "videoUrl": "https://video-lax3-2.xx.fbcdn.net/v/t42.1790-2/452676484_365839819654968_5403838510859390104_n.mp4?_nc_cat=106&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=msM70OvY6OsQ7kNvgF-KcS7&_nc_ht=video-lax3-2.xx&oh=00_AYBBZA8Kf5rQEheKyqiYddAWIzRx4cfMfupWlvProOunSw&oe=66E643A9"
9}

Below is an example of the scrape-status data you can expect to retrieve from Key-value store(key=scrape-status)

1{
2  "pageId": "131719452422201",
3  "scrapeTime": "2024-09-17T07:07:22.581Z",
4  "adCount": 47,
5  "status": 200,
6  "resultsCount": 51
7}
Developer
Maintained by Community
Actor metrics
  • 7 monthly users
  • 1 star
  • 100.0% runs succeeded
  • Created in Sep 2024
  • Modified 1 day ago