Hello all,
We have a batch job which calls the Google Adwords APIs to generate reports 
on a monthly basis. 
We use the adwords-lib and adwords-axis dependencies to connect to the 
Adwords APIs.
And we create the session this way 

adwordsCredential = new OfflineCredentials.Builder().

 

 forApi(OfflineCredentials.Api.ADWORDS) 

 .withRefreshToken(refreshToken) 

 .withClientSecrets(clientId, clientSecret) 

 .build(). 

 generateCredential(); 

 

 adWordsSession = new AdWordsSession.Builder() 

 .withClientCustomerId(clientCustomerId) 

 .withDeveloperToken(developerToken) 

 .withOAuth2Credential(adwordsCredential). 

 build();


I am trying to find out the best practices to manage the sessions. 



- What happens to the sessions we create ? Do they expire ?

- Is there a limit on the number of active sessions ?


Thanks!

K 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/e65da8f7-a4b3-4ff8-ad20-2ccfacc70655%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to