Hi,

To retrieve the email address, you need to include the scope: "
https://www.googleapis.com/auth/userinfo.email"; as mentioned in this 
<https://developers.google.com/identity/protocols/googlescopes#oauth2v2> 
document. 
If this scope is included while you generate the refresh token, you should 
be able to get the email address of the authenticating user by making the 
following request: 

https://www.googleapis.com/oauth2/v2/userinfo?access_token=
"YOUR_ACCESS_TOKEN".


You can try this out in the API explorer 
<https://developers.google.com/apis-explorer/#p/oauth2/v2/oauth2.userinfo.get>
.

Regards,
Shwetha, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/414997ab-3caf-4a60-be2e-f554c70be443%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • How to get the ... code . working
    • Re: How to... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to