How can I get all login users accounts?

54 views
Skip to first unread message

윤성원

unread,
Jun 12, 2019, 5:23:24 AM6/12/19
to AdWords API and Google Ads API Forum
I have a production account for my developerToken, clientId and clientSecret
and a test MCC Account with 5 accounts in child for my test.

I got the refresh token(offline type) for my test MCC account by oauth2 login and tried to get all account list under the logined user wih the refreshToken.
But I got only one account under the test MCC account.
I added another test account under the test MCC account but the result was same.
Why can't I get the all list of accounts even though I logged in with the test MCC account that can access to thier child accounts?

And I tried to logged in with the test child account(one of the subaccount) but I got this error message.
Client error: `POST https://oauth2.googleapis.com/token` resulted in a `401 Unauthorized` response: { "error": "unauthorized_client", "error_description": "Unauthorized" }

Thanks.

Google Ads API Forum Advisor Prod

unread,
Jun 13, 2019, 3:28:49 AM6/13/19
to adwor...@googlegroups.com
Hi,

So I can better investigate the issue you are encountering with your test MCC/client accounts, could you provide to me the logs that were generated by your requests? You may send your reply via the Reply privately to author option.

Thanks and regards,
Peter
Google Ads API Team

ref:_00D1U1174p._5001UBmrei:ref
Reply all
Reply to author
Forward
0 new messages