Same issue here, we run into the same problem with the 1,000 Get requests per day limit. The code actually can be optimized not to use Get, would be great if the documentation team would improve the code samples.
On Friday, 25 September 2020 at 17:45:11 UTC+2 juli...@google.com wrote: > Appreciate it Mike and team for the insight, the customer - Brand Networks > said that was the exact type of answer they have been looking for ! > > They also sent over below, to identify the code that documented on our > site that puts them against the limit, they want to provide this as a > feedback to the documentation. > > > https://developers.google.com/google-ads/api/docs/account-management/get-account-hierarchy#c > > string[] customerResourceNames = > customerServiceClient.ListAccessibleCustomers(); > > > foreach (string customerResourceName in customerResourceNames) > { > Customer customer = > customerServiceClient.GetCustomer(customerResourceName); > Console.WriteLine(customer.Id); > seedCustomerIds.Add(customer.Id); > } > > > *"Since the rate limit for Gets is only 30/minute if you have an account > with more than 30 accessible clients (which is not hard to do with customer > hierarchies) you hit the limit every time. We're going to change this over > to use a search to get the fields we need, but maybe you can give some > feedback to the documentation team."* > > > Thank you! > sincerely, > Julie > On Tue, Sep 22, 2020 at 8:30 AM Google Ads API Forum Advisor Prod < > adsapifor...@gmail.com> wrote: > >> Hello, >> >> The Google Ads API doesn't use the quotas listed in that page. Generally >> you'd find your way here if you are trying to use "get" requests in the >> API. However, that is not the intended way to retrieve information from the >> API. You should instead use the GoogleAdsService.Search or >> GoogleAdsService.SearchStream requests (see: >> https://developers.google.com/google-ads/api/reference/rpc/v5/GoogleAdsService#search >> ). >> >> There is no way to increase the limit for "get" requests. Search and >> SearchStream have rate limits but they are high enough for production usage. >> >> Regards, >> Mike, Google Ads API Team >> >> ref:_00D1U1174p._5004Q24d3hp:ref >> >> -- >> -- >> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ >> 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 adwor...@googlegroups.com >> To unsubscribe from this group, send email to >> adwords-api...@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 a topic in the >> Google Groups "AdWords API and Google Ads API Forum" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/adwords-api/ovULE_RMP9Y/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> adwords-api...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/adwords-api/yLTjG000000000000000000000000000000000000000000000QH282200szfmAfJER1yQJvs6uJRKAg%40sfdc.net >> >> <https://groups.google.com/d/msgid/adwords-api/yLTjG000000000000000000000000000000000000000000000QH282200szfmAfJER1yQJvs6uJRKAg%40sfdc.net?utm_medium=email&utm_source=footer> >> . >> > > > -- > > *Julie Zhu* > > Customer Engineer > > Mobile 860 480 5265 <(860)%20480-5265> > > 10 Summer Street, Boston, MA, 02110 > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/aefc2ec2-cb09-4837-8150-da8666c036f8n%40googlegroups.com.