Hello, With the update of the Adwords API, I wanted to test my code with an "old" test account with an Adwords test campaign. But I ended up with the error: { "error": "invalid_grant", "error_description": "Bad Request" }
So I recreated a new Oauth2 Credential of type "Other" on the developer console and I requested a new "refreshToken", using this call : https://accounts.google.com/o/oauth2/auth?access_type=offline&scope=https://www.googleapis.com/auth/adwords&client_id=XXXX.apps.googleusercontent.com&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code but it is still impossible to connect. To test my information I am using the following call : curl \ -d refresh_token=XXXX \ -d client_id=XXXX.apps.googleusercontent.com \ -d client_secret=XXXXX \ -d grant_type=refresh_token https://www.googleapis.com/oauth2/v4/token and I always end up with : { "error": "invalid_grant", "error_description": "Bad Request" } With my production credential , the curl call is working great. Thank Fabien -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/650d913d-11ec-40eb-bdd7-c9aabe502916%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.