How to get a user name

59 views
Skip to first unread message

Seiya Watanabe

unread,
Oct 12, 2022, 2:19:09 AM10/12/22
to Google Ads API and AdWords API Forum
hello

I'm coding an application that integrates a google ad account. 
I want to display the user name of the google account on the linked account list screen. 
I want to get the name of the google account, not the resource name of the customer.

I hope you have good advice.

Google Ads API Forum Advisor

unread,
Oct 12, 2022, 9:00:34 AM10/12/22
to s.wat...@illustrious.co.jp, adwor...@googlegroups.com
Hi Seiya,

Thank you for raising your concern to our team.

Please see my answer below for each question:

I want to display the user name of the google account on the linked account list screen.
-For this concern, in order to provide the accurate suggestion on this concern, would you be able to provide the screenshot of the UI showing this information to see if it is possible using Google Ads API.

You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.


I want to get the name of the google account, not the resource name of the customer.
-If what you are referring to here is to get the name of the Google Ads accounts that are under your MCC account, then you can use the customer_client report and include the customer_client.descriptive_name .

Regards,
Google Logo
Ernie John
Google Ads API Team
 


ref:_00D1U1174p._5004Q2f5RtI:ref

Seiya Watanabe

unread,
Oct 14, 2022, 1:49:59 AM10/14/22
to Google Ads API and AdWords API Forum
Thank you for reply.

What I want to get is the name of the linked personal account.
For example in my case I want to get the name "Seiya Watanabe".

2022年10月12日水曜日 22:00:34 UTC+9 adsapi:

Google Ads API Forum Advisor

unread,
Oct 14, 2022, 6:12:20 AM10/14/22
to s.wat...@illustrious.co.jp, adwor...@googlegroups.com
Hi Seiya,

I hope you are doing well. This is Carmela from the Google Ads API team. Thank you for getting back to us.

Moving forward, kindly note that Google Ads API mirrors Google Ads UI. It means that, what in the UI should be the same as the API and vice versa. That said, as requested by my colleague Ernie, would you be able to provide the screenshot of the UI showing this information to see if it is possible using Google Ads API and so that our team can provide the accurate guidance on how you will be able to get this information using the Google Ads API?


You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Furthermore, as mentioned by my colleague Ernie, if what you are referring to here is to get the name of the Google Ads accounts that are under your MCC account, then you can use the customer_client report and include the customer_client.descriptive_name. Also, you mentioned that "What I want to get is the name of the linked personal account. For example in my case I want to get the name "Seiya Watanabe".", could you confirm if this is an account name or not?

Regards,
Google Logo
Carmela
Google Ads API Team
 


ref:_00D1U1174p._5004Q2f5RtI:ref
Message has been deleted

Google Ads API Forum Advisor

unread,
Feb 20, 2023, 1:13:49 PM2/20/23
to s.wat...@illustrious.co.jp, adwor...@googlegroups.com
Hi Seiya,

Thank you for getting back to us. Please be informed that I had to delete your recent email as it contains your UI screenshot.

Upon checking, I am afraid that getting the "Seiya Watanabe" data is not yet supported in the Google Ads API. Having said that, can you provide your complete business use case for this so that we can raise a feature request?


You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Zweitze

unread,
Feb 28, 2023, 8:22:44 AM2/28/23
to Google Ads API and AdWords API Forum
Can I help Seiya with providing some business cases?

1. Some people have multiple Google accounts which they use for different tasks, and they could accidently use the wrong account for my application.
In that case, calling the API returns NOT_ADS_USER, and my software replies that the login has no Google Ads. Those users never, never, never believe that error message. They are sure they have access and show this by logging in to Google Ads - this time with the right account of course. Now, if my software could just mention the user name in the error message...

2. Sometimes customer accounts are not allowed to be linked to an MCC of an agency - for instance a pitch is happening. So a user gets another email address and password. Again, this user screws up when authenticating with the software, and cannot find the account for the pitch. Again, this user claims it's the fault of the software using the wrong login. If only the user name could be shown...

Of course there are more reasons. Just ask yourself why the UI itself always shows the name of the user.
There must be a really good business case for that.

Google Ads API Forum Advisor

unread,
Feb 28, 2023, 3:11:50 PM2/28/23
to zwe...@gmail.com, adwor...@googlegroups.com

Hi, 

Thank you for coming back to us. I hope you are doing well today.

@Zweitze
Thank you for providing you insight on this matter, we appreciate it and will include it to file a feature request for this.

@Seiya 
Since this feature is not yet supported, your response or insight of your business case will be appreciated to make a feature request .

Thank you for bringing up your insight and interest in feature requests: account username.

I have raised a feature request for this to be available in the Google Ads API. This request is subject for review and for now, I would suggest keeping an eye on our blog or release notes for the updates.

Have a great day.

Regards,

Google Logo Google Ads API Team


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