We have registered our site as a web application and in which there is a redirect url which redirects to the status of the application ex: https://app_name.organization_name.com/status . when I run the getRefreshToken() method, I have to get a code on which typing it on the input console while running the method should give me refresh token. The problem is the redirect URI is just a page which does not contain any code which can be pasted on the console while running getRefreshToken() method. The details of the request are below:
- from_login=1 - cookie_policy_enforce=false - scope=https://adwords.google.com/api/adwords - response_type=code - redirect_uri= https://app_name.organization_name.com/status(which is just a page which does not give any code to be copied) - access_type=offline - as=33ee5a9ea******* - display=page - pli=1 - client_id=20*********.apps.googleusercontent.com - authuser=1 - hl=en How can I get the code to be pasted to get refresh token? Can I just edit the redirect URI to "urn:ietf:wg:oauth:2.0:oob" in the google cloud console and use it to get refresh token? We have three of such sites which are registered as web applications and redirect URIs will redirect to their respective statuses.Do I have to register all the 3 applications as web applications -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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 Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.