On Nov 13, 6:07 pm, crozzer <[EMAIL PROTECTED]> wrote:
> Done:http://code.google.com/p/google-api-adwords-dotnet/issues/detail?id=12
I am not sure if this is what you're looking for. This is how I use an
MCC login to access the client account referenced by primaryEmail
string:
AdWordsUser user = new AdWordsUser((Hashtable)
System.Configuration.ConfigurationManager.GetSection
("adwordsProduction"));
user.clientEmailValue.Text[0] = primaryEmail;
If the activity is to occur at the MCC level (such as cross-client
reporting), set primaryEmail to null and clientEmails to an array of
client email strings.
I suppose email can be substituted with the client account number, but
I have not tried it.
-- Rori
<adwordsProduction>
<add key="email" value="[EMAIL PROTECTED]" />
<add key="useragent" value="C# Client Library" />
<add key="password" value="xxxxxx" />
<add key="clientEmail" value="[EMAIL PROTECTED]" />
<add key="applicationToken" value="xxxxxxxxxxxxxxxxxx" />
<add key="developerToken" value="xxxxxxxxxxxxxxxxxxx" />
<!-- Do not define alternateUrl for production -->
</adwordsProduction>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
-~----------~----~----~----~------~----~------~--~---