Hello Xiaoming, I really appreciate your reply. Thank you for looking into this. I could not understand the problem after reviewing the code comments in great details.
I see in your response to Lewis that you recommend adding the 'login-customer-id' in the configuration file. This is where my confusion is coming from. The comments in the code state that: " *If you don't specify manager ID and login customer ID, the example will insteadprint the hierarchies of all accessible customer accounts for yourauthenticated Google account.* " However, when I do not specify the manager ID and login customer ID, I get this "USER PERMISSIONS" error. So that's my question. Why do I still get this "USER PERMISSIONS" error when I omit the '*login-customer-id*' '*manager-id*' even though the code sample comments say that I may omit the '*login-customer-id*' along with the '*manager-ID'*? It seems to me, after reading the code sample comments, that I should be able to omit both and then retrieve the hierarchies of all accounts (manager accounts and sub manager accounts included) from the authenticated Google Ads account. Would greatly appreciate your help. Thank you, On Tuesday, February 23, 2021 at 3:38:18 PM UTC-5 adsapiforumadvisor wrote: > Hi Lewis, > > Thank you for reaching out. It’s very likely you didn’t set the > 'login-customer-id' in the configuration file. Please do so and try it > again. > > > > Thanks and regards, > Xiaoming, Google Ads API Team > > > [image: Google Logo] > Xiaoming > Google Ads API Team > > > ref:_00D1U1174p._5004Q2CPk7n: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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/f8c1aaf6-9cd0-428c-873c-c75a56d1d507n%40googlegroups.com.
