Re: OfflineCredentials generateCredential() limits and best practices

2018-05-24 Thread Prashant Pandey
Hi Peter, Thanks for the reply. I am confused by your reply. If I am making 1 request (with 2000 emails each) and I am calling the above snippet 1 times , generateCredential() will be called 1 times. I saw the code and it makes HTTP calls. *In the examples in the client library such a

Re: OfflineCredentials generateCredential() limits and best practices

2018-05-24 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Prashant, What the paragraph implies is that each request you make should make use of your already thread-safe credentials by simply instantiating the sessions object. In the examples in the client library such as this one

OfflineCredentials generateCredential() limits and best practices

2018-05-23 Thread Prashant Pandey
Here its mentioned, "The client libraries make sharing a credential across threads straightforward. Each client library has a session (or user) object with a credential that it reuses throughout its l