Adwords api rate limit error

88 views
Skip to first unread message

Dorcas Ujiji

unread,
Jun 25, 2021, 11:05:27 AM6/25/21
to AdWords API and Google Ads API Forum
Hello,

One of our client's api call to customerServiceClient.listAccessibleCustomers() fails using java google-ads sdk. Here's the error we get: 

com.google.ads.googleads.v6.errors.GoogleAdsException: errors { 
   error_code { 
          quota_error: RESOURCE_EXHAUSTED 
      
     message: "Too many requests. Retry in 78432 seconds." 
     details { 
           quota_error_details { 
                rate_scope: DEVELOPER 
                rate_name: "Get requests for standard access"
                retry_delay { 
                       seconds: 78432 
                 
            
        }
}

According to this documentation, there's a limit of 1,000 requests/day https://developers.google.com/google-ads/api/docs/access-levels.  However we were able to confirm from looking at our apps dashboard that less than 500 total requests were made to the google ads api in that day. This has happened multiple times. 

I would like more information on what is going on and how to work around or fix them. Thank you.

Dorcas Ujiji

unread,
Jun 25, 2021, 11:27:16 AM6/25/21
to AdWords API and Google Ads API Forum
Correction to my initial post, the api call that fails is:

customerServiceClient.getCustomer("customers/{customerId}")

Thank you.

Google Ads API Forum Advisor

unread,
Jun 28, 2021, 1:40:29 PM6/28/21
to dor...@vidmob.com, adwor...@googlegroups.com
Hi Dorcas,

Thank you for reaching out to us. In looking over your post, the issue appears to be that you have done too many GET request as shown here . To get around this we would suggest looking into more batch request and other ways to break your request into smaller segmjents that can be done within the limit.

Regards,
Google Logo
William Pescherine
Google Ads API Team
 


ref:_00D1U1174p._5004Q2JWIX5:ref
Reply all
Reply to author
Forward
0 new messages