Get Google Ads Accounts from users

28 views
Skip to first unread message

Fabricio Morato

unread,
Jul 10, 2023, 8:52:33 PM7/10/23
to Google Ads API and AdWords API Forum
Hi there, 

we are creating a dashboard so that our users can see their ad account metrics.

We are trying to use OAUTH to get our users accounts but we are not able to get the developer api from them. Is there a tutorial that shows how we can get the users accounts to work with our app (dashboard).

Please advise.

Google Ads API Forum Advisor

unread,
Jul 11, 2023, 3:37:48 AM7/11/23
to biss...@gmail.com, adwor...@googlegroups.com

Hi Fabricio,

Thank you for reaching out to us.

Could you confirm if you are referring to the resulting list of customers that is based on your OAuth credentials? If yes, then you may check our List Accessible Accounts documentation (https://developers.google.com/google-ads/api/docs/account-management/listing-accounts) for more information, as the request for this returns a list of all accounts that you are able to act upon directly given your current credentials. However, this will not necessarily include all accounts within the account hierarchy; rather, it will only include accounts where your authenticated user has been added with admin or other rights in the account.

You may also check our Account Management Overview (https://developers.google.com/google-ads/api/docs/account-management/overview) for more information on creating accounts, managing account hierarchies, and setting some account-level options.

Let me know if this is what you are referring to. If not, then you may provide us with more details on it so that we can provide precise guidance accordingly.

 
This message is in relation to case "ref:_00D1U1174p._5004Q2n67cK:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages