Facebook Ad Library - 5$/month
by insight_api_labs
Scrape Facebook ads library reliably and efficiently!
Opens on Apify.com
About Facebook Ad Library - 5$/month
Scrape Facebook ads library reliably and efficiently!
What does this actor do?
Facebook Ad Library - 5$/month is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
Note: We now handle proxy management internally for your convenience, as Apify's residential or datacenter proxies may eventually fail when scraping Facebook Ad Library. Our scraper is ready to dive into Facebook's Ad Library and collect a treasure trove of information for each ad. To get started, you'll need to provide a valid Facebook Ad Library search URL. Here's how to do it: 1. π Visit https://www.facebook.com/ads/library/ 2. π Perform your desired search, adjusting all the filters to your liking 3. π Copy the resulting URL from your browser's address bar Make sure that the search URL starts with "https://www.facebook.com/ads/library/" and includes a query keyword (q=...) within it. You can also programmatically adjust the parameters within the search URL at your workflow via Apify API integration for more flexibility. This opens up exciting possibilities for an automated processing of facebook ad library searches. ## π Data Fields Explained: A Deep Dive into Ad Metrics ### π― Ad Identification - adArchiveID: Unique identifier for each ad - archiveTypes: Types of archives this ad belongs to - categories: Ad categories for easy classification ### π Ad Performance - impressionsWithIndex: Insights into ad visibility - reachEstimate: Estimated audience reach - spend: Investment made in the ad campaign ### π Timeline - startDate: When the ad campaign kicked off - endDate: The campaign's conclusion date ### πΌ Business Details - pageID & pageName: Identifies the advertising entity - pageInfo: Additional details about the advertiser - currency: The monetary unit used for the campaign ### π Ad Characteristics - containsDigitallyCreatedMedia: Flags AI-generated content - containsSensitiveContent: Highlights potentially sensitive material - gatedType: Indicates any access restrictions - publisherPlatform: Where the ad is being displayed ### ποΈ Compliance & Reporting - politicalCountries: Relevant for political ad transparency - isAAAEligible: Relates to ad archive access - reportCount: User feedback on the ad - stateMediaRunLabel: Important for state media transparency ### πΈ Content Snapshot - snapshot: A goldmine of ad details! π
| Field | Description | |-------|-------------| | π Ad Text | Body, title, and captions | | π URLs | Link destinations and CTAs | | πΌοΈ Images | Original, resized, and watermarked versions | | π₯ Videos | HD and SD video links (when available) | | π Page Info | Advertiser details, categories, and stats | | π Instagram | Related Instagram account data | | β° Timestamps | Creation time and version history | Unlock the full potential of your ad analysis with this comprehensive snapshot! π ### π Direct Access - url: Direct link to the ad in Facebook's Ad Library Plus many more fields that provide a comprehensive view of each ad! π Hereβs the input and output JSON examples for clarity: ### Input Examplejson { "facebook_ad_library_search_url": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=TR&q=real estate&search_type=keyword_unordered&media_type=all", "total_ads": 100 }### Output Examplejson [ { "adArchiveID": "607401198534818", "adArchiveId": "607401198534818", "adID": null, "adId": null, "archiveTypes": [], "categories": ["UNKNOWN"], "containsDigitalCreatedMedia": false, "containsDigitallyCreatedMedia": false, "containsSensitiveContent": false, "collationCount": 1, "collationID": "941830434036402", "collationId": "941830434036402", "currency": "", "endDate": 1734595200, "endDataFormatted": null, "entityType": "PERSON_PROFILE", "fevInfo": null, "finServAdData": { "is_deemed_finserv": false, "is_limited_delivery": false }, "finservAdData": { "is_deemed_finserv": false, "is_limited_delivery": false }, "gatedType": "ELIGIBLE", "hasUserReported": false, "hiddenSafetyData": false, "hideDataStatus": "NONE", "impressionsWithIndex": { "impressions_text": null, "impressions_index": -1 }, "isAAAEligible": true, "isAaaEligible": true, "isAdAccountActioned": null, "isActive": true, "isProfilePage": false, "pageID": "110341895329134", "pageId": "110341895329134", "pageInfo": "see snapshot for more info about advertiser page", "pageIsDeleted": false, "pageName": "Good Story", "politicalCountries": [], "reachEstimate": null, "reportCount": null, "snapshot": { "body": { "text": "Hello" }, "branded_content": null, "brazil_tax_id": null, "byline": null, "caption": "fbweb.moboreader.net", "cards": [], "cta_text": "Learn more", "cta_type": "LEARN_MORE", "country_iso_code": null, "current_page_name": "Good Story", "disclaimer_label": null, "display_format": "VIDEO", "event": null, "images": [], "is_reshared": false, "link_description": null, "link_url": "https://fbweb.moboreader.net/64194322-fb_contact-encp30_2-1214-core2.html?adid={{ad.id}}&char=331118&accid=638434121690371&rawadid=120217696994320091", "page_categories": ["Book"], "page_entity_type": "PERSON_PROFILE", "page_id": "110341895329134", "page_is_deleted": false, "page_is_profile_page": false, "page_like_count": 777, "page_name": "Good Story", "page_profile_picture_url": "https://scontent-mia3-1.xx.fbcdn.net/v/t39.35426-6/470221314_1538773036786543_2843870837120104634_n.jpg", "page_profile_uri": "https://www.facebook.com/100090635329790/", "root_reshared_post": null, "title": null, "videos": [ { "video_hd_url": "https://video-mia3-2.xx.fbcdn.net/v/t42.1790-2/470328148_607401218534816_4547189470724049034_n.?", "video_preview_image_url": "https://scontent-mia3-1.xx.fbcdn.net/v/t39.35426-6/470209065_2379908972359313_4699088056310665597_n.jpg", "video_sd_url": "https://video-mia3-3.xx.fbcdn.net/v/t42.1790-2/469999215_559374680236449_7899133143832632579_n.mp4", "watermarked_video_hd_url": "", "watermarked_video_sd_url": "" } ], "additional_info": null, "ec_certificates": [], "extra_images": [], "extra_links": [], "extra_texts": [], "extra_videos": [] }, "spend": null, "startDate": 1734249600, "startDataFormatted": null, "stateMediaRunLabel": null, "publisherPlatform": ["FACEBOOK", "INSTAGRAM", "AUDIENCE_NETWORK", "MESSENGER"], "menuItems": [], "facebookUrl": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=TR&q=real estate&search_type=keyword_unordered&media_type=all", "inputUrl": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=TR&q=real estate&search_type=keyword_unordered&media_type=all", "url": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=TR&q=real estate&search_type=keyword_unordered&media_type=all" } ]
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try Facebook Ad Library - 5$/month now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- insight_api_labs
- Pricing
- Paid
- Total Runs
- 13,045
- Active Users
- 324
Related Actors
Google Maps Reviews Scraper
by compass
Facebook Ads Scraper
by apify
Google Ads Scraper
by silva95gustavo
Facebook marketplace scraper
by curious_coder
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support