
Google Ads Scraper
Pricing
$30.00/month + usage

Google Ads Scraper
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.2 (10)
Pricing
$30.00/month + usage
67
Total users
1.5k
Monthly users
204
Runs succeeded
>99%
Issue response
18 hours
Last modified
a day ago
how to set timeout properly
Closed
Hi sorry if im asking an obivous question but am i setting the timeout variable correctly when send the request ? I tried a timeout of 2 mins in apify web and it works fine but when i do it via api it doesnt respect the timeout value.
Hi! Have a look here: https://docs.apify.com/sdk/js/reference/class/Actor#call
The method signature is the following: call(actorId: string, input?: unknown, options?: CallOptions): Promise<ActorRun>
.
Your timeout
property should not be sent inside the input payload, instead you should send a third parameter when calling the actor and you should include an object like in the following example:
...call('actor-id',{startUrls: ...,proxyConfiguration: ...,resultsLimit: 50},{timeout: 120})
Let me know if this helps!
dantrials2
Thanks again that has worked, had to adapt it a little but all good.