Re: invalid grant when generating refresh token

2015-03-31 Thread Josh Radcliff (AdWords API Team)
Hi, Thanks for the helpful tips. Point #2 is covered in the OAuth guide for the web flow , in case that's helpful. Note that you shouldn't have to revoke the application before getting another refresh token. I personal

Re: invalid grant when generating refresh token

2015-03-31 Thread Mark
I have no affiliation with google. Just a fellow user like you. In my experience there are 2 cases where the refresh doesn't work: 1. When you exchange their code with non-empty scopes as a parameter. Make sure to leave this blank (not sure which client library you're using) and only include no

Re: invalid grant when generating refresh token

2015-03-30 Thread Sean Gottschalk
Hi Josh, I've had the client re-generate the code 3 or 4 times and have received the same invalid grant response each time. The interesting thing is that I can generate the code using my personal google account (not related to any adwords accounts) against the client's adwords customer id and

Re: invalid grant when generating refresh token

2015-03-30 Thread Josh Radcliff (AdWords API Team)
Hi, Have you tried this multiple times? I ask because one possibility is that when you copied the authorization code from the browser, it's possible that you didn't copy the complete code. Another suggestion would be to try getting another refresh token for a different account to see if it wor

invalid grant when generating refresh token

2015-03-27 Thread Sean Gottschalk
Hello, I'm trying to create a refresh token for a client using my adwords developer credentials but when I enter the generated code I get a 400 invalid grant error from the adwords API. I logged into my developer console on my MCC account and verified that I have the following OAuth credential