Thanks Peter

I've managed to get the email address by decoding the IDToken property of 
the UserCredential as a JwtSecurityToken. This contains the email address 
as a claim.

On Monday, January 4, 2021 at 6:32:15 AM UTC adsapiforumadvisor wrote:

> Hi John,
>
> Thank you for reaching out.
>
> If my understanding is correct that you wish to retrieve the email address 
> and user ID from the credentials object, then I'm afraid this is not 
> possible.
>
> The UserCredential object's details may not be available for users since 
> it is not listed as one of the supported resources in the documentation 
> <https://developers.google.com/google-ads/api/docs/release-notes> (ex. v6 
> > resources).
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2AGyWB: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/7b5778ec-8f2e-427f-ad9d-f81de9708cbdn%40googlegroups.com.

Reply via email to