You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
I am using Google Ads API in JAVA, How can I get refresh token to set in a UserCredentials object when an user login with Google and the unique data that I have is acces_token, id_token, login_hint?
Regards.
Teja Makani
unread,
Jan 10, 2019, 5:55:22 PM1/10/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
Hello Stiven,
To get the refresh token you can use the AuthenticateInStandaloneApplication.java in case you are using standalone application type. For web application you can use AuthenticateInWebApplication.java. In both the cases you need to pass the Client ID and Client Secret to get the refresh token. You could also refer this guide to know more about OAuth2 Refresh token and Configuring the client. Please let me know if you have any further questions.