7 messages in com.googlegroups.adwords-apigetAccountCurrency w/ MMC returns inc...
FromSent OnAttachments
Chris W25 Apr 2006 09:25 
Richard Jones25 Apr 2006 09:43 
Chris W25 Apr 2006 10:10 
JezC26 Apr 2006 01:07 
xpan...@tiscali.fr28 Apr 2006 11:50 
Richard Jones29 Apr 2006 00:45 
Richard Jones29 Apr 2006 00:51 
Subject:getAccountCurrency w/ MMC returns incorrect Currency Code
From:Chris W (chri@gmail.com)
Date:04/25/2006 09:25:25 AM
List:com.googlegroups.adwords-api

Hello,

We are moving all of our API calls to using the MMC account information yet in testing we have discovered the AccountServiceService.getAccountCurrency() method will only return the currency code for the MMC account and not the client accounts.

AccountService.AccountServiceService accountService = new AccountService.AccountServiceService();

accountService.emailValue = new AccountService.email(); accountService.clientEmailValue = new AccountService.clientEmail(); accountService.passwordValue = new AccountService.password(); accountService.tokenValue = new AccountService.token(); accountService.useragentValue = new AccountService.useragent();

accountService.emailValue.Text = new string[] { MMCLogin }; accountService.clientEmailValue.Text = new string[] { AccountLogin }; accountService.passwordValue.Text = new string[] { MMCPassword }; accountService.tokenValue.Text = new string[] { DeveloperToken }; accountService.useragentValue.Text = new string[] { UserAgent };

string currencyCode = accountService.getAccountCurrency();

If clientEmailValue is not specified and emailValue and passwordValue contain the client account's authentication information, the correct currency code will be returned. All API calls use version 3.

Has anyone else run into this?

Thanks,

Chris