Google Ads Scraper avatar
Google Ads Scraper

Pricing

$30.00/month + usage

Go to Store
Google Ads Scraper

Google Ads Scraper

Developed by

Gustavo Silva (Coherent Paradox)

Gustavo Silva (Coherent Paradox)

Maintained by Community

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.

4.0 (9)

Pricing

$30.00/month + usage

66

Total users

1.4k

Monthly users

219

Runs succeeded

>99%

Issue response

18 hours

Last modified

10 hours ago

DN

Is there anyway to limit what to scrape?

Closed

dantrials2 opened this issue
5 months ago

So for my use case I'm not interested in the image or vide urls is there any way to get everything else apart from the urls ?

silva95gustavo avatar

Thanks for your message! I'd like to understand your use case better to see how this fits with the scraper’s standard functionality. Could you clarify:

  • What data format are you currently exporting to (Excel, CSV, JSON, etc.)?
  • What issue does the presence of image or video URLs cause in your workflow?

While these fields don’t affect the scraper’s execution time, knowing more about your goals will help me provide the best guidance.

DN

dantrials2

5 months ago

So currently I take the results from the scraper (json) and put it into api to chatgpt, but it takes a lot of tokens everytime. but by removing the imageurl,videourl,previewurl and starturl i was able to reduce the tokens by 50%(HUGE savings), this does vary with what was scraped but i was wondering if there is the option to not scrape the video and img urls. Also side question, im suprised that the urls dont add to the scraping time, what contribute to the time of the scraper ? Is there anyway i can have it scraper faster ?

silva95gustavo avatar

You should be able to select the list of output fields that you want to see included in the JSON result. Please see the attached screenshot.

However this solution won't work for you if you are aiming to extract specific fields inside the variations section such as the body, headline and CTA. If that's your use case, then I would suggest to use an online converter to transform your data according to your needs. Here's my suggestion:

  1. Go to https://zod-playground.vercel.app/
  2. Paste the output of this scraper in the middle panel (the panel named "Value").
  3. In the left panel paste the following code:
z.array(z.object({
advertiserName: z.string().optional(),
creativeId: z.string().optional(),
format: z.string().optional(),
variations: z.array(z.object({
body: z.string().optional(),
cta: z.string().optional(),
description: z.string().optional(),
headline: z.string().optional()
})).optional(),
}))

After following these steps you will see the resulting JSON on the right side.

Let me know if this works for you!

DN

dantrials2

5 months ago

Thanks that worked

DN

dantrials2

5 months ago

*Sorry i made a mistake when I initially said it reduced the tokens count to 50% its reduced roughly 25%