Hello J,

"Redirect URL" is only relevant for "Web Application" flow. For "Installed 
application" redirect URL needs to be a constant, see:

  
https://developers.google.com/accounts/docs/OAuth2InstalledApp#choosingredirecturi

Also note, the code returned by Google service is a verification code, not 
a refresh token. You need to use verification code to obtain tokens as 
described here:

  
https://developers.google.com/accounts/docs/OAuth2InstalledApp#handlingtheresponse


-Danial, AdWords API Team.


On Saturday, April 5, 2014 10:46:47 AM UTC+4, j Sravanthi wrote:
>
> Hi,
> just i got idea about what is adwrods..i want to develop adwords api for 
> cardekho.com for registered project in adwords which is a web based 
> application.i refereed every thing and download java code example and tired 
> to execute the project even thou   my project is web based i selected 
> installed application and copied the redirect url into program and got 
> refreshement token copied into ad.properties after that i tried to execute 
> the get campaign program  then is showing there is an error in 
> adWordsSession.java  line num so&so..when i tried to open the program,it as 
> opened .class file and telling that the line number doesnt exist..
>
> So,please help me how to get authorization etc.
>
>
> Thanks 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.
  • Doubts j Sravanthi
    • Re: Doubts Danial Klimkin

Reply via email to