Hello,

We use a code for listing accounts from this documentation 
page: 
https://developers.google.com/google-ads/api/docs/account-management/get-account-hierarchy

We've migrated to Google Ads API from Google AdWords API and within less 
than an hour we have run into *ResourceExhausted *errors, bringing our app 
out of service :-/

Can you please let me know what the issue is? What limit did we run into? 
It doesn't say what limit it is and what the quota is neither.


   - We have STANDARD access
   - I know that there is a limit of 1,000 Get requests per day, 
   nevertheless when we run into this error, the *retryDelay *is not more 
   than 2 hours after each time we run into it so then this shouldn't be a 
   daily quota limit 
   - Request ID:  MoKNN9ntONjF9nPdug0xSg


--- [GoogleAdsException] 
--------------------------------------------------------------
Message: Status(StatusCode="ResourceExhausted", Detail="Resource has been 
exhausted (e.g. check quota).", 
DebugException="Grpc.Core.Internal.CoreErrorDetailException: 
{"created":"@1605107801.441000000","description":"Error received from peer 
ipv4:172.217.17.106:443","file":"T:\src\github\grpc\workspace_csharp_ext_windows_x64\src\core\lib\surface\call.cc","file_line":1062,"grpc_message":"Resource
 
has been exhausted (e.g. check quota).","grpc_status":8}")
File: C:\agent1\_work\3\s\TC.Website.Services\GoogleAds\GoogleAdsService.cs
Method: GetAccessibleCustomerIds
Line: 310
Column: 17
Exception: {
  "StatusCode": 8,
  "Details": "Resource has been exhausted (e.g. check quota).",
  "RequestId": "MoKNN9ntONjF9nPdug0xSg",
  "Failure": {
    "errors": [
      {
        "errorCode": {
          "quotaError": "RESOURCE_EXHAUSTED"
        },
        "message": "Too many requests. Retry in 3254 seconds.",
        "details": {
          "quotaErrorDetails": {
            "rateScope": "DEVELOPER",
            "rateName": "Get requests for standard access",
            "retryDelay": "3254s"
          }
        }
      }
    ]
  }
}  

If this is a a problem with the 1,000 Get requests a day, how are we 
supposed to list all the accounts for our users? We work with agencies and 
larger advertisers that have many accounts. This was flawless in Google 
AdWords API, why listing accounts would count into the limit, what shall we 
do?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/01fad3c5-d434-4434-8ca3-bd3fcf17b07en%40googlegroups.com.

Reply via email to