Hi all! I am currently porting my adwords-app from v13 to v2009 and started to use the client-libs for the first time. In my application i have to make multiple calls to the same service, but each time with different authentication headers, so i was wondering if it is really the correct way to use a different AdWordsUser each time i need to switch credentials?
I saw that one can create an AdWordsUser with supplied header-values, which will then be used for the ServiceFactories to create correctly set up services. The point is that i need to make calls to several different accounts (using MCC), which would mean that the service-factories get set up again for each account (which might be an expensive operation?) where i'd just need the RequestHeader to be changed. I figured that i can create a service-factory myself, using the public constructor, duplicating the code to create the RequestHeader, setting it accordingly via the public property and then retrieving a Service: Problem is just that createService also demands me to supply an AdWordsUser, which would leave me again with creating a user for each account. I think this scenario is not really so uncommon, how do you guys solve this if you use the libraries? cheers, --qu -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. 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 To unsubscribe from this group, send email to adwords-api+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.