Google Adwords API login

209 views
Skip to first unread message

Antonio Peric

unread,
Mar 15, 2015, 5:38:26 PM3/15/15
to adwor...@googlegroups.com
Hi,

we are creating web (single page app - NG app), Android and iOs app (both with phonegap) and we want to authorize user for Adwords API with offline access. We noticed that if we use iOS id and secret that refresh token that we got is not valid for web application and vice-versa. How we can resolve this? Do we need to store for every user id, pass and token in DB and then query every time with that credentials or there is some other way?

Thank you

Best,
Antonio

Antonio Peric

unread,
Mar 16, 2015, 9:48:16 AM3/16/15
to adwor...@googlegroups.com
ping

Danial Klimkin

unread,
Mar 16, 2015, 2:32:04 PM3/16/15
to adwor...@googlegroups.com
Hello Antonio,


The refresh token is only valid for particular client ID and secret for security reasons. We recommend obtaining separate refresh tokens for each application type -- it's easier to manage for you and the user can revert one application access only, should she needs to.


-Danial, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages