![Facebook Ads Scraper avatar](https://images.apifyusercontent.com/bEbAgta_msCI73tceOxlPLEnJCJUOuFMIVpIWxNOr80/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9KSmdoU1ptU2h1Y280ajlnSi94d0dBQzR5SzdlTUU4UnZxWi1GYWNlYm9va19BZHNfU2NyYXBlci5wbmc.webp)
Pay $5.00 for 1,000 Campaigns
![Facebook Ads Scraper](https://images.apifyusercontent.com/bEbAgta_msCI73tceOxlPLEnJCJUOuFMIVpIWxNOr80/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9KSmdoU1ptU2h1Y280ajlnSi94d0dBQzR5SzdlTUU4UnZxWi1GYWNlYm9va19BZHNfU2NyYXBlci5wbmc.webp)
Facebook Ads Scraper
Pay $5.00 for 1,000 Campaigns
Extract advertising data from one or multiple Facebook Pages. Get page details, reach estimates, publisher platforms, report count, number of impressions, ad IDs, timestamps, and more. Download Facebook ads data in JSON, CSV, and Excel and use it in apps, spreadsheets, and reports.
Do you want to learn more about this Actor?
Get a demoIt seems that it can only scrape all the ads related to the pages without considering UTMs restrictions
Closed
Hi there, I've tried several times to scrape only ads with the specific conditions in the UTMs such as country, date, active_status, but everytime it crawls everything related to the page id. Is there a way to enforce the UTMs restrictions?
Example, when using the URL below, the scraping ignore the conditions of the UTMS except the pageID.
![alexey avatar](https://apify-image-uploads-prod.s3.amazonaws.com/wM4FzNZqJ8zKeBi7x/B7JmFnXiwps4jzKic-profile2021_250.png)
Hi! Thanks for letting us know, looks like Facebook changed internal formats for search and some query params should be fixed. Will check in deeper details and let you know.
bendub-owner
Indeed they changed a bit the structure and I think most importantly they know display ads for the last few years meaning that without the query params we have everytime to scrape everything which is not ideal. Thanks a lot for looking into it.
![alexey avatar](https://apify-image-uploads-prod.s3.amazonaws.com/wM4FzNZqJ8zKeBi7x/B7JmFnXiwps4jzKic-profile2021_250.png)
Hi! Ad Library migrated to new data format, I hot-fixed ads, new data source is in new format, so remapped what was possible (main properties), for the rest please check and follow new format. New query expected to handle all parameters correctly.
Next step is to restore page info, will keep you informed about the progress.
![alexey avatar](https://apify-image-uploads-prod.s3.amazonaws.com/wM4FzNZqJ8zKeBi7x/B7JmFnXiwps4jzKic-profile2021_250.png)
Hi again, please check latest version, URL parameters supported properly now.
I'm going to close this issue for now, but if there's still anything unclear, please, let us know. We appreciate customer feedback!
- 302 monthly users
- 40 stars
- 100.0% runs succeeded
- 5 days response time
- Created in Apr 2023
- Modified 1 day ago