Hi Thiago, There are a couple of ways to accomplish this:
1. If you have a service instance, you set yourService.RequestHeaders.clientEmail = your_new_client_email. 2. If you have to do it for several services, consider using the AdWordsUser overloaded constructor. // Declare the headers. Dictionary<string, string> headers = new Dictionary<string, string>(); headers.Add("authToken", "ENTER_YOUR_AUTHTOKEN_HERE"); headers.Add("useragent", "ENTER_YOUR_COMPANY_NAME_HERE"); headers.Add("developerToken", "ENTER_YOUR_DEVELOPER_TOKEN_HERE"); headers.Add("clientEmail", "ENTER_YOUR_CLIENT_EMAIL_HERE"); // Create a custom AdWordsUser. user = new AdWordsUser(headers); In this particular case, you can choose to keep the authToken in your app.config if you wish to. <!-- Uncomment this if you want to reuse an authToken multiple times. --> <add key="AuthToken" value="ENTER_YOUR_AUTH_TOKEN_HERE"/> and later access it as ApplicationConfiguration.AuthToken or new AdWordsAppConfig().AuthToken, depending on whether you are using 10.x or 11.x version of the library. Hope this helps. Cheers, Anash P. Oommen, AdWords API Advisor. On Oct 18, 6:53 pm, Thiago Medeiros <tsmthi...@gmail.com> wrote: > Hi!! > > I have a MCC account, and I want to use the same Token according to the > link above. > > http://adwordsapi.blogspot.com/2010/07/discover-v2009-working-with-au... > > "if you log in by setting the email header to your MCC (My Client > Center) account and then change the clientEmail header to the different > accounts you’re accessing, you’ll only need a single token;" > > How can I change the ClientEmail header without generate a new token? > I'm using the ".net client library". > > regards, > Thiago. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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