![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 demoChanging schema is making database writes fail.
Closed
Hi, I'm logging this actor's output to a database table with fixed schema that represents the top-level output schema of the actor's json.
The recent apparent addition of a new top-level field (finServAdData) has caused writes to my db to fail. The actor version is still the same, so locking the version doesn't seem like it will work.
How can I ensure a fixed output schema for a given actor version and thus avoid DB errors?
![alexey avatar](https://apify-image-uploads-prod.s3.amazonaws.com/wM4FzNZqJ8zKeBi7x/B7JmFnXiwps4jzKic-profile2021_250.png)
Hi!
Actor forwarding data "as is" from internal Facebook format so data changes as with finServAdData
is reproduction of current live Facebook data. We need to follow such approach to prevent data loss and keep output relevant to what currently seen in Ad Library.
So in case if you need fixed format please consider actor integration with https://apify.com/lukaskrivka/dedup-datasets or by some other tool
You can also ask community in Apify Discord #hire-freelancers to build a simple integration script for this.
I´m going to close the issue now, but if there would be anything else we could help with, please let us know.
- 302 monthly users
- 40 stars
- 100.0% runs succeeded
- 5 days response time
- Created in Apr 2023
- Modified 1 day ago