![Google Ads Scraper avatar](https://images.apifyusercontent.com/xLT7lx_Tg-CbUZLPwOGnvD1lRgnXyyuxNr9hfN67UtI/rs:fill:250:250/cb:1/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vTjh2cXdWOXdMOXdwSXNMRHovRXFRenBLaWVuWUtQb3ZEc2MtR29vZ2xlX0Fkc19sb2dvXyUyODIlMjkucG5n.webp)
Google Ads Scraper
1 day trial then $30.00/month - No credit card required now
![Google Ads Scraper](https://images.apifyusercontent.com/xLT7lx_Tg-CbUZLPwOGnvD1lRgnXyyuxNr9hfN67UtI/rs:fill:250:250/cb:1/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vTjh2cXdWOXdMOXdwSXNMRHovRXFRenBLaWVuWUtQb3ZEc2MtR29vZ2xlX0Fkc19sb2dvXyUyODIlMjkucG5n.webp)
Google Ads Scraper
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.
The scrapper returns 0 results
Hi, I ran your actor with the following url: https://adstransparency.google.com/advertiser/AR05753369569305559041?region=anywhere and it does not return any results but when you check on the adstrasparency web page, you can clearly see there are 3 video ads!
Can you please quickly fix this, I just paid and subscribed to your actor and I need this to work perfectly as soon as possible. Thank you.
Gustavo Silva (silva95gustavo)
Hi!
There are indeed some ads active for this advertiser, however these ads are marked as age-restricted. You can confirm this if you logout from your Google account or visit Ads Transparency Center from an Incognito session.
This scraper tool runs in anonymous mode (without logging in), which means that Google does not serve age-restricted ads. Some advertisers may focus mainly on ads that are restricted to certain ages and therefore this tool cannot retrieve some of their ads.
KLoic
Ok ok I see. Thanks for the quick reply and explanation. Do you have another idea on how to scrape these type of ads? Thanks
Gustavo Silva (silva95gustavo)
Support for Age-Restricted Ads Unfortunately, I’ve decided not to implement this functionality. Here’s why:
- Accessing age-restricted ads requires being logged in, which could violate Google’s Terms of Service.
- Adding this feature could pose a risk of account termination for users, which I want to avoid.
That said, if you’d like to proceed at your own discretion, you can customize the requests made by the scraper to include your session cookies. Here’s an example of how to pass custom headers in the input:
1{ 2 "startUrls": [ 3 { 4 "headers": { 5 "cookie": "<insert_cookies>", 6 "x-framework-xsrf-token": "<insert_token>" 7 }, 8 "url": "https://adstransparency.google.com/advertiser/AR08888592736429539329?authuser=0®ion=ES&preset-date=Last+7+days" 9 } 10 ] 11}
How to Configure:
- If you’re running the scraper from the Apify Console (UI), switch from "Manual" to "JSON" input mode.
- Add your headers under the headers object, as shown above.
- Replace
<insert_cookies>
and<insert_token>
with your session cookies and any required tokens.
Please keep in mind that using this approach carries the risks mentioned earlier, so proceed with caution.
KLoic
Thank you for sharing this workaround.
Actor Metrics
119 monthly users
-
41 stars
>99% runs succeeded
16 hours response time
Created in Oct 2023
Modified 19 hours ago