Google Ads Scraper avatar
Google Ads Scraper
Try for free

1 day trial then $30.00/month - No credit card required now

View all Actors
Google Ads Scraper

Google Ads Scraper

silva95gustavo/google-ads-scraper
Try for free

1 day trial then $30.00/month - No credit card required now

Extract text, image and video ads from Google Ads, scraped from the ad library provided by Google Ads Transparency Center. Gain access to ad details, ad copy, locations, and more. Dive deeper into the Google Ads Transparency Center for a competitive edge.

RL

Cannot read properties of undefined (reading 'map')

Closed

random_luck opened this issue
4 months ago

TypeError: Cannot read properties of undefined (reading 'map') Used a link like: https://adstransparency.google.com/advertiser/AR02245201850565394433?authuser=0&region=US&preset-date=Last+30+days

silva95gustavo avatar

Thanks for reporting this issue, will have a look as soon as possible.

silva95gustavo avatar

Since the 20th october 2023, all active ads of this advertiser are age-restricted.

This scraper runs anonymously (without being logged in) and is therefore unable to read age-restricted ads, which means that zero ads are returned for your specific advertiser from that date onwards.

This is expected behavior and cannot be changed while keeping the actor anonymous, however an error message should not be displayed - it is misleading. Therefore, I have released a fix that ensures no error message is displayed when zero ads are available, instead your will simply notice that the output is empty.

silva95gustavo avatar

Hi! I'm happy to inform that this scraper now supports age-restricted ads, so you are welcome to try it again. Thanks!

Developer
Maintained by Community
Actor metrics
  • 80 monthly users
  • 11 stars
  • 100.0% runs succeeded
  • 1.7 days response time
  • Created in Oct 2023
  • Modified about 2 months ago