Hi, Bharani. What seems to be happening is that it is listing accounts that are cancelled. Ideally, there should be a field with the status of the account, if not to filter directly in the query, at least to know how to handle the different account statuses.
Right now, forcing to loop through every customer_client/account, no matter the status, and "blindly" requesting ad groups for each one is really time consuming and unnecessary. Is there any plan for this to be available? Is there any other way? Thanks once again, AP. terça-feira, 20 de Agosto de 2019 às 18:15:12 UTC+1, adsapiforumadvisor escreveu: > > Hi André, > > That's right, the customer_client resource will return the complete > hierarchy of all the direct and indirect client customers that are > included. I'm afraid, it is possible to filter the accounts based on the > status. The error CUSTOMER_NOT_ENABLED usually occurs if the API call is > made against an account which is not completely setup. Could you please > complete the account setup and retry the API request? If you're > encountering any issues, could you please share the request and response > logs using *Reply privately to author* option to investigate further? > > Thanks, > Bharani, Google Ads API Team > > ref:_00D1U1174p._5001UEJTua: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 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/5a64fff1-5ca5-4a83-9c5f-ff5d3937544d%40googlegroups.com.