![Facebook Ads Scraper avatar](https://images.apifyusercontent.com/wCVGxZqodqC77Iew83pt_sknAvvEyRXocCfIvq_OyKw/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9KSmdoU1ptU2h1Y280ajlnSi94d0dBQzR5SzdlTUU4UnZxWi1GYWNlYm9va19BZHNfU2NyYXBlci5wbmc.webp)
Pay $5.00 for 1,000 Campaigns
![Facebook Ads Scraper](https://images.apifyusercontent.com/wCVGxZqodqC77Iew83pt_sknAvvEyRXocCfIvq_OyKw/rs:fill:92:92/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.
keep getting out of memory error
Closed
I get a lot of OOM conditions and have to ressurect a lot of times.
![alexey avatar](https://apify-image-uploads-prod.s3.amazonaws.com/wM4FzNZqJ8zKeBi7x/B7JmFnXiwps4jzKic-profile2021_250.png)
Hi! For right now please use less URLs per run, currently actor RAM limited to 1Gb and its just not enough for processing big batches. Will ask store manager why limitation is applied and can it be changed, then let you know
top_marmot
Very clear feedback thanks for the note/patience!
validated
Is is possible to configure memory for each run in the API? We don't run scraping jobs on the Apify GUI.
top_marmot
Did anything change recently with APIFY?
In the past I was able to upload spreadsheets with 1,000 facebook pages and now that causes speedbumps.
top_marmot
Is it possible the Facebook page errors are the root cause here since I am testing tiny lists?
top_marmot
Guys this product is unusable.
Is there a way you can allow the memory to go to 2 GB.
top_marmot
I'm very reluctant to renew without the memory increasing.
And I did reduce the volume.
![zuzka avatar](https://apify-image-uploads-prod.s3.amazonaws.com/Zji7Rt6MKGCn6Ae6A/echDcdqqFXKuFJRiQ-2018-12_%285%29.jpg)
Hey, the available memory is set to max 2gb and we are working on further optimizing the runs.
![alexey avatar](https://apify-image-uploads-prod.s3.amazonaws.com/wM4FzNZqJ8zKeBi7x/B7JmFnXiwps4jzKic-profile2021_250.png)
Hi! Issue fixed by refactoring token generation, new version works under 1Gb of RAM with over 1.000 of start URLs https://console.apify.com/view/runs/KkVjuXKJm0GVJXFVa More RAM will allow you to scrape faster
Thanks for your patience, your feedback helped a lot to find better solution
top_marmot
Thanks so much. I was having an issue that when I export APIFY to excel there are over 2000 columns. Most of them irrelevant.
How do I resolve this?
![lukaskrivka avatar](https://apify-image-uploads-prod.s3.amazonaws.com/mPSyG35Lffj5ybtgz/3xNTfQWj8svZAjh5r-bigger_photo.jpg)
Hello,
You can use this Actor - https://apify.com/lukaskrivka/dedup-datasets
Put there the big dataset and choose "Limit fields to load" and it will produce dataset with only the fields you need which you can download to Excel.
top_marmot
does that actor cost money?
and what changed recently that is causing these issues I used to be able to just use the program effortlessly.
thx for patience.
![alexey avatar](https://apify-image-uploads-prod.s3.amazonaws.com/wM4FzNZqJ8zKeBi7x/B7JmFnXiwps4jzKic-profile2021_250.png)
https://apify.com/lukaskrivka/dedup-datasets actor is free, as for output value - actor forwarding internal Facebook API data "as is", so when Facebook applying updates to data format its reproduced by actor.
We will continue to follow such approach because this way actor updated without additional programming or maintenance. If some new or changed dataset values not useful for your case, please filter out by external actor or some other tool
You can also ask community in Apify Discord #hire-freelancers to build a simple integration script for this.
- 310 monthly users
- 24 stars
- 99.8% runs succeeded
- 4 days response time
- Created in Apr 2023
- Modified 5 days ago