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 stuck at the fist step of OAuth2 authorization. Here's a brief of what I have done till now : 1. I downloaded the example provided by the API team with the documentation, and transformed it into a JSP Servlet program. 2. Now I am trying to play around with ads.properties file to fill in all the details necessary for connection to the API. 2a) For client Id I went to the link : https://code.google.com/apis/console#access -> API Access -> Create Client ID 2b) Now, since I am in the initial phase of development, I am just trying to run the application from eclipse on local host, so I tried to specify the redirect url as -: http://localhost 3. From there I got my client Id and client secret. Using this I generated a refresh token, and then I added the developer token,clientcustomerId that I had to the properties file and tried to run GetCampaigns file where in I got the error - > Invalid Grant Can you please suggest if I am following the right process or not? If you need I can share the confidential details in a private message to you. Thanks for your time! Regards, Naman Jindal -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://googleadsdeveloper.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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.