Thanks for the advise Jaki, I am not having luck with adding delays between the calls to fetch all the customer's info (name) under our manager account which has about 91 accounts and growing, so the calls are failing in some way also when trying to pull customer name for all linked accounts and putting in delay the customer has to wait a lot of time to see the accounts. I can't find anyway to batch the search queries or even batch multiple customer service.GetCustomer call. I think the batch are mostly mutate operation. Thoughts?
On Friday, January 25, 2019 at 2:38:50 AM UTC-5, googleadsapi-forumadvisor wrote: > > Hi Darshan, > > Unfortunately, it is not currently possible to get the descriptive name of > client_customer via the customer_client resource. > > Also, The RESOURCE_EXHAUSTED > <https://developers.google.com/google-ads/api/docs/common-errors#resource_exhausted> > > error you are encountering could be caused by an exceeded system frequency > limit due to sending too many requests in a short period of time. I would > recommend that you set up short delays between requests or combine more > operations in fewer requests to avoid such error. > > Best regards, > Jaki > Google Ads API Team > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > Also find us on our blog and discussion group: > http://googleadsdeveloper.blogspot.com/search/label/adwords_api > https://developers.google.com/adwords/api/community/ > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > Was your question answered? Please rate your experience with us by taking > a short survey. > If not -- reply to this email and tell us what else we can do to help. > > Take Survey > <https://support.google.com/google-ads/contact/survey_transactional?caseid=7-0235000025009&hl=en&ctx=1> > > Also find us on our blog and discussion group: > http://googleadsdeveloper.blogspot.com/search/label/adwords_api > https://developers.google.com/adwords/api/community/ > On 01/25/19 02:59:49 dar...@companionlabs.com <javascript:> wrote: > > Hi Jaki, > I have marked your response as complete as it answers my original > questions, but I have a follow up questions. Is there a way to also pull > the customer name and/or descriptive name of the > customer_client.client_customer from the Search Service. I used the > CustomerService to getCustomer to pull the customer name/descriptive_name > etc but due to the sear number of client_customer I am getting > ResourceExhaustedException. It would be nice to pull these other details > from the Search Service if possible, or any other better way? > > > > On Thursday, January 24, 2019 at 3:59:02 AM UTC-5, > googleadsapi-forumadvisor wrote: > > Hi, > > Could you clarify if you would want to get the hierarchy of the accounts > under your manager account? If so, then you may use customer_client > <https://developers.google.com/google-ads/api/docs/fields/customer_client> > resource. Below query should work to get the said hierarchy: > > .setQuery("SELECT customer.id, customer.descriptive_name, > customer_client.resource_name, customer_client.client_customer, > customer_client.level, customer_client.hidden FROM customer_client") > > > Let me know if you encounter problems. > > Best regards, > Jaki > AdWords API Team > > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > Also find us on our blog and discussion group: > http://googleadsdeveloper.blogspot.com/search/label/adwords_api > https://developers.google.com/adwords/api/community/ > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > Was your question answered? Please rate your experience with us by taking > a short survey. > If not -- reply to this email and tell us what else we can do to help. > > Take Survey > <https://support.google.com/google-ads/contact/survey_transactional?caseid=7-0235000025009&hl=en&ctx=1> > > Also find us on our blog and discussion group: > http://googleadsdeveloper.blogspot.com/search/label/adwords_api > https://developers.google.com/adwords/api/community/ > On 01/24/19 02:52:41 dar...@companionlabs.com wrote: > > Currently the closest I got to listing the accounts that my user has > access to is CustomerService.ListAccessibleCustomers, which only lists > the customers accounts that are directly accessible to which are the list > of my dummy accounts and a MCC account. I would like to list the account > accessible by the MCC account as well since my user is tied to the MCC > account. I cannot find any thing in the google docs > <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v0.services#customerservice> > > . Does anybody know if this functionality is available or will it be > available at some point in new google Ads (beta) api. > > > -- > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > 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. > Visit this group at https://groups.google.com/group/adwords-api. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/adwords-api/12f82ece-7657-4b46-b4b6-c9c50f545e5b%40googlegroups.com > <https://groups.google.com/d/msgid/adwords-api/12f82ece-7657-4b46-b4b6-c9c50f545e5b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > 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. > Visit this group at https://groups.google.com/group/adwords-api. > To view this discussion on the web visit > https://groups.google.com/d/msgid/adwords-api/64612de9-67fe-4a6b-afa7-c8a7a35e4c7f%40googlegroups.com > > <https://groups.google.com/d/msgid/adwords-api/64612de9-67fe-4a6b-afa7-c8a7a35e4c7f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/6e9fc753-5828-4101-8018-7e3355db7c56%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.