Raman, Invalid grant typically means you may have used an improper client ID/secret and/or refresh token. The OAuth 2.0 authorization is a standard protocol, you may need to look into more on how to use web-based authorization vs offline authorization. Most AdWords API users should be able to carefully follow this guide <https://developers.google.com/adwords/api/docs/guides/authentication> and setup the authorization correctly.
Thanks, Ray On Friday, September 5, 2014 2:35:48 PM UTC-4, Ray Tsang (AdWords API Team) wrote: > > Raman, > > Pleae see the Google OAuth 2.0 documentation > <https://developers.google.com/accounts/docs/OAuth2WebServer>. There is > a state parameter that you may be able to use. > > Cheers, > > Ray > > On Friday, September 5, 2014 9:53:08 AM UTC-4, raman kumar wrote: >> >> Hello, >> >> In Google Ad words API, for tracking purpose i send the custom data along >> with the authorize URL. But after successful acceptance of permission to >> the app it will return the code in the Redirect URL which is used to get >> access token. Along with that code i also need the custom data to be >> returned as it is send earlier. >> >> So, My question is how can i get the custom data when the code is >> returned in Redirect URL? >> >> Any help regarding this problem is highly appreciable. >> >> With Regards, >> Raman >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/758b7edb-47b2-44ec-82ae-7367ae77f3b5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.