Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-12 Thread naman jindal
Hi Anash, The issue is now resolved. I was making a lame mistake. I was considering the code received from the url as the refresh token and never realized that I had to use that code to get the refresh token. All solved now. Thanks! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Al

Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-12 Thread John Slegers
I tried that over and over and over. The last time, I even made sure to clear the browser's entire history. I don't think it's anything we're doing wrong. I seems like a bug or a problem with our accounts on Google's end. Op dinsdag 12 november 2013 13:15:18 UTC+1 schreef Danial Klimkin

Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-12 Thread John Slegers
I tried that... over and over and over... The last time, I made sure to clear the browser's entire history. That way, I was sure I wasn't logged in into any system that uses Google credentials. Yes, I still see no improvement. I don't think it's anything we're doing wrong. I seems like a bug or

Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-12 Thread Danial Klimkin
Hello Naman, I suggest clearing the config and trying to do the OAuth flow again. Before starting please make sure to log off from any google account in your browser and clear cookies. When following the auth URL you will be presented with the login screen. Make sure to log in with you *AdWord

Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-11 Thread slegersjohn
I'm having the same problem. I did the following for a test account : * download the PHP API library * use developer token from production account * get "native" client ID + client secret * add client ID + client secret to API library * run the "GetRefreshToken" file to get a refresh token * add r

Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-10 Thread naman jindal
Hey Guys, I just made some changes to my project and now I have a different exception: java.lang.ClassNotFoundException: com.google.api.ads.common.lib.client.AdsSession Can anyone suggest why this happened? What is to be done to get rid of this? Thanks! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=

Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-10 Thread naman jindal
Hi Anash, Did you get my message? I am waiting for your inputs/suggestions. Thanks! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://googleadsdeveloper.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=

Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-08 Thread naman jindal
Hey Anash, Thanks for taking this up. 1. Were you able to able to run the offline credentials application and > generate a refresh token and access token? > Yes, I ran the GetRefreshToken.java file to generate a link from where I got the refresh token. 2. Did you copy this refresh token

Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-08 Thread Anash P. Oommen (AdWords API Team)
Hi Naman, The problem is that invalid grant is a generic error that says your OAuth signup failed. It doesn't give any more details, and that is by design. That makes it all the more difficult to debug the issue. Let's start one step at a time. I'm sure you might have tried these steps before,

Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-08 Thread naman jindal
Hey Guys, Can anyone who has knowledge about this exception help me out on how can I resolve this. This is really very urgent and I would be very much thankful for any ind of help/suggestions. Thanks and Regards, Naman Jindal -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find

Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-07 Thread naman jindal
Hey Guys, I am still stuck on this invalid grant exception. Please help me out. I have tried the steps suggested by Josh but its not helping. Please advice. Exception in thread "main" com.google.api.ads.common.lib.exception.OAuthException: Credential could not be refreshed. at com.google.api.a

Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-06 Thread naman jindal
Hey Anash, Please provide updates on this! Thanks -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://googleadsdeveloper.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You receiv

Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-05 Thread naman jindal
Hi Anash, I am using Java client Library. I am trying to build a Jsp Servlet application that would allow me to perform certain operations in a user friendly way. I am not sure how this is done but I am trying hard and taking help from forums/documentation to get this done. Currently I am stuc

Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-05 Thread Anash P. Oommen (AdWords API Team)
Hi Naman, What language and client library are you using? Cheers, Anash On Monday, November 4, 2013 3:48:47 AM UTC-5, naman jindal wrote: > > Thanks for your help Josh. > > I have more difficulties and questions relating to setting up the > Application. > But I think I would better give in som

Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-04 Thread naman jindal
Thanks for your help Josh. I have more difficulties and questions relating to setting up the Application. But I think I would better give in some more efforts before putting up more questions. Regards, Naman Jindal -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our b

Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-01 Thread Josh Radcliff (AdWords API Team)
Hi Naman, The "invalid_grant" error usually means you tried to use the same authorization code to get more than one developer token. The authorization code is the string returned after you click *Accept* from the URL provided by the offline credentials example, and you can only use an authoriz

Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-10-30 Thread naman jindal
Hi Guys, I am trying to set up my first Adwords API application. To begin with, I am only trying to set up the examples which are provided with the client libraries. So, I just downloaded the example and all dependent files. I provided all the information in the properties file: Refresh Token,