AdWords API Re: Can i use ThreadLocal. to cache account/service per account per thread??

2010-04-13 Thread AdWordsNovice
ords API Team > > On Apr 13, 4:10 am, AdWordsNovice wrote: > > > Ok, Forget about going through all the crap..if it looks like..my > > simple question.. > > > I want to avoid error because of frequent log in to account in > > AdWords. > > It causes errors, which mos

AdWords API Re: Can i use ThreadLocal. to cache account/service per account per thread??

2010-04-13 Thread AdWordsNovice
Ok, Forget about going through all the crap..if it looks like..my simple question.. I want to avoid error because of frequent log in to account in AdWords. It causes errors, which most people recommended to reuse Account and Service in same thread.. e.g per client per thread to avoid. I am using J

AdWords API Can i use ThreadLocal. to cache account/service per account per thread??

2010-04-12 Thread AdWordsNovice
[PROBLEM]::Avoiding Error because of log in to account multiple times. e.g per client per thread...using JAVA 1.6/AdWords v200909 [POSSIBLE SOLUTION]::Can i use ThreadLocal..refer following snippet in order to reuse cash account/service Note: One can redacto

AdWords API Can TheadLocal be used in AdWords..any example..to reuse service and user account

2010-04-12 Thread AdWordsNovice
ThreadLocal() { protected UpdaterSingletonAccount initialValue() { return new UseUpdaterSingletonAccount(); } }; where UpdaterSingletonAccount stores information of user/service.. --AdWordsNovice -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet