The current Python library already implements much of this for you, except 
for the new GoogleAdsService:SearchStream 
<https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v3.services#googleadsservice>.
 
There is an example in .NET 
<https://github.com/googleads/google-ads-dotnet/blob/master/examples/ErrorHandling/HandleRateExceededError.cs>
 
of how to handle rate limit errors, which we will port to Python in the 
future. 

-David

On Thursday, March 12, 2020 at 2:56:49 AM UTC-4, Mat wrote:
>
> Hi,
>
> I'd like to implement an "exponential backoff" for retryable errors like 
> 'INTERNAL_ERROR', 'RESOURCE_EXHAUSTED', 'RESOURCE_TEMPORARILY_EXHAUSTED' 
> into my Python Google Ads API scripts. I've found the solution you provide 
> <https://developers.google.com/analytics/devguides/reporting/core/v3/errors#backoff>
>  
> for the Analytics API, but I'm not sure how to implement this for the 
> Google Ads API, using the Python library. 
>
> Can you help me out?
>
> Best regards
> Mat
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6157714c-0947-4b2d-ac27-02db79b7056c%40googlegroups.com.

Reply via email to