Hi at all,

this is a code for retrieve the authorizeUrl:


GoogleAuthorizationCodeFlow authorizationFlow = new 
GoogleAuthorizationCodeFlow.Builder(new NetHttpTransport(),new 
JacksonFactory(),clientSecrets,SCOPES)

.setApprovalPrompt("auto")

.setAccessType("offline") // Set the access type to offline so that the 
token can be refreshed.

.build(); 


String authorizeUrl = 
authorizationFlow.newAuthorizationUrl().setRedirectUri(CALLBACK_URL
).build();


I copy url "authorizeUrl"into browser e copy / paste the authorizationCode.


How can I retrieve it dynamically? This operation can be made "trasparent" 
to the user?


Thank you so much

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8bfbb0fd-10ab-48a2-8b12-07796d1b90cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • How can I retri... demo . wonder . marketing
    • Re: How ca... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to