Hi Udy, There is really no best way, though you need to consider that AdwordsClient is not thread-safe if you are working with multiple threads.
Changing customerId will allow you save some memory, but no much more gain than that. Best, -David Torres - AdWords API Team On Thursday, October 4, 2012 2:53:35 AM UTC-4, u...@taykey.com wrote: > > Hi all, > > i would like that my program will support several customers (accounts). > What is the best way to support this feature? > Should i hold a map of customerId to adwordsClient, or should i change or > create the adwordsClient every time on run time? > > If changing the cusotmrId every time at runtime is the best choice, can i > get an explanation why and an example ? > > Thank you so much! > > Udy > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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