Re: Trying to get Auth2 refresh token but get "bad 400: invalid_request"

2022-03-17 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Jason, Thank you for providing your workaround to the issue. However, could you please confirm if you already raised this to the Google Cloud platform support team? We route you to them because the issue is more specific on OAuth2, and this is out of our scope. As mentioned by my colleague.

Re: Trying to get Auth2 refresh token but get "bad 400: invalid_request"

2022-03-16 Thread 'Jason Ryan' via Google Ads API and AdWords API Forum
I also ran into this problem. Google is not very good about updating all their documentation when they deprecate something. The solution is to modify the "redirect_uri" in your your request url and change it from "urn:ietf:wg:oauth:2.0:oob" to "http://localhost/notarealpage";. That way, when

Re: Trying to get Auth2 refresh token but get "bad 400: invalid_request"

2022-03-14 Thread 1210xin H5
Yes, that is correct. Google Ads API Forum Advisor 于2022年3月15日周二 03:36写道: > Hi, > > Thank you for reaching out to the Google Ads API support team. > > Can you please confirm exactly when this error screen presents? Is it > during the refresh token generation process? > > Thanks, > [image: Google

Trying to get Auth2 refresh token but get "bad 400: invalid_request"

2022-03-14 Thread 1210xin H5
OAuth 2.0 client_id is Desktop application request url: https://accounts.google.com/o/oauth2/v2/auth?response_type=code&access_type=offline&client_id=643949321001-ldfue96um5m4lbp08a5v20j5lp5ojmib.apps.googleusercontent.com&redirect_uri=urn:ietf:wg:oauth:2.0:oob&state&scope=https://w