Facebook Ads Scraper
Pay $5.00 for 1,000 Campaigns
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 demoThe API is returning the error "No public data" for the following URL:
[ { "inputUrl": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=ALL&media_type=all&search_type=page&source=page-transparency-widget&view_all_page_id=114654381906337&start_date[min]=2024-07-17&start_date[max]=2024-08-14", "error": "No public data" } ]
However, there are public ads being displayed on the searched URL. Could you please check the reason for this error?
Thank you!
Hello, thank you for your feedback, you are right, there is public info that is currently not accessible through the graphql API that the actor uses. We will investigate futher and see if the Actor can get the information by some other way, and we'll keep you updated on our findings :)
Hi!
For right now please use URL format https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=ALL&media_type=all&search_type=page&start_date[min]=2024-07-17&start_date[max]=2024-08-14&view_all_page_id=114654381906337 - somehow URL parameter &source=page-transparency-widget
breaks data flow
When its removed actor works as expected: https://console.apify.com/view/runs/s7gXpM4POJUcP2aab (27 ads for sample URL in the browser and 27 dataset items scraped)
[ { "inputUrl": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=BR&media_type=all&search_type=page&source=fb-logo&view_all_page_id=101566656646581&start_date[min]=2024-07-23&start_date[max]=2024-08-20", "error": "No public data" } ]
Indeed, all URLs that contain the 'source' parameter have been causing issues with the actor, resulting in 'No public data' being returned. Could you handle this on the APIFY side, by recognizing these parameters that might eventually cause the issue?
For now, I'll need to create a JavaScript validation to remove this parameter before sending it to the actor! I don't think this is a good long-term solution!
Do you have a timeline for resolving this on your side?
Hi!
Sorry for delay with the fix, we wanted to ensure that there is no data loss rather than just modify input URL because actor unable to process it.
Sample run https://console.apify.com/view/runs/oNSBbB82yQrYJ1nwM
Thanks for your feedback and patience
I´m going to close the issue now, but if there would be anything else we could help with, please let us know.
Actor Metrics
355 monthly users
-
56 stars
>99% runs succeeded
1.5 days response time
Created in Apr 2023
Modified 3 days ago