Google Ads Scraper avatar
Google Ads Scraper

Pricing

$30.00/month + usage

Go to Store
Google Ads Scraper

Google Ads Scraper

silva95gustavo/google-ads-scraper

Developed by

Gustavo Silva

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.

5.0 (4)

Pricing

$30.00/month + usage

55

Monthly users

197

Runs succeeded

>99%

Response time

12 hours

Last modified

15 days ago

DN

how to set timeout properly

Closed
dantrials2 opened this issue
2 months ago

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.

silva95gustavo avatar

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:

1...call(
2  'actor-id',
3  {
4    startUrls: ...,
5    proxyConfiguration: ...,
6    resultsLimit: 50
7  },
8  {
9    timeout: 120
10  }
11)

Let me know if this helps!

DN

dantrials2

2 months ago

Thanks again that has worked, had to adapt it a little but all good.

Pricing

Pricing model

Rental 

To use this Actor, you have to pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage.

Free trial

1 day

Price

$30.00