Hello,
I believe (after much digging around), that in order to create the 5
sandbox clients (client_n+login_id), a call to getClientAccounts() on
the account service must be made. I make the call with the following
code:-
Dictionary<string, string> headers = new
Dictionary<string, string>();
//HEADERS NOT SHOWN HERE BUT SET UP EXACTLY AS PER
DOCUMENTATION.
AdWordsUser user = new AdWordsUser(headers);
user.UseSandbox();
AccountService accountService =
(AccountService)user.GetService(AdWordsService.v13.AccountService);
string[] cacc = accountService.getClientAccounts();
I get an exception "Login with this username/password failed". I can
log into google mail with the username/password. As a test I tried
changing the case of the password and then got an authentication
error, so it seems that the username/password is authenticating before
the call to getClientAccounts.
Help with this would be much appreciated, thank you.
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en