mgh577107


Hi,

I want to retreive the currency code belongs to account by adcenter API.

Please help me if you know about it.

Thanks.





Re: Retreiving Currency Code From an Account

Jeff Dillon - MSFT


You can obtain PreferredCurrencyType from CustomerManagement.GetAccounts()

http://msdn2.microsoft.com/en-us/library/aa982964.aspx

http://msdn2.microsoft.com/en-us/library/aa982986.aspx

Does this help

Jeff Dillon, Microsoft adCenter API Technical Support






Re: Retreiving Currency Code From an Account

mgh

Hi Jeff,

Thanks for your response but the problem is that this property doesn't retreive the currency which I choose for my accounts correctly. The currency of my accounts in adCenter are set to EURO but this property retreives USDoller!

I suppose it is because I'm not in the customer aggregator role.

Any way, Please let me know if you have any idea about this problem.

Thanks in advance.

mgh







Re: Retreiving Currency Code From an Account

Jeff Dillon - MSFT

Got it. Yes, this is actually a known issue that we are aware of, with the fix to be available soon. It is not related to the aggregator role. Keep in mind, it's always good practice to cache these settings locally, in a database perhaps.

Jeff Dillon, Microsoft adCenter API Technical Support




Re: Retreiving Currency Code From an Account

Ludo-R

I asked exactly the same thing last November (about 6 months ago) and the support told me that this parameter (currency code) was related to the aggregator role (because I was getting USD instead of EUR). Seems that things are moving reallllllyyyyyyyyyy fast!




Re: Retreiving Currency Code From an Account

Jeff Dillon - MSFT

Sorry, it sounds like you may have received some misinformation, since we are still working on supporting the aggregator role. Can you provide more information on the original communication

Jeff




Re: Retreiving Currency Code From an Account

Ludo-R

Sorry, the support did not tell me that (I just check my mails). In fact, nobody answered my question after I provided the SOAP message...

So I still have the same problem: all currencies = USD, all languages=English




Re: Retreiving Currency Code From an Account

Jeff Dillon - MSFT

Sorry, I thought you mentioned that support had informed you previously that this was aggregator related, which it is not.

At any rate, it is an issue we are aware of, and will be addressed soon. Thanks for your patience

Jeff





Re: Retreiving Currency Code From an Account

JieSu

This service only return CurrencyType, not Currency. There are only 5 currency types available according to the API spec (CanadianDollar, EURO, SingaporeDollar,UKPound,USDollar). What if the account's currency is set to AUD, JPY, or GBP

Jeff Dillon - MSFT wrote:

You can obtain PreferredCurrencyType from CustomerManagement.GetAccounts()

http://msdn2.microsoft.com/en-us/library/aa982964.aspx

http://msdn2.microsoft.com/en-us/library/aa982986.aspx

Does this help

Jeff Dillon, Microsoft adCenter API Technical Support





Re: Retreiving Currency Code From an Account

Strohm Armstrong - MSFT

There are acutally two CurrencyType enumerations, one applies to the CustomerManagement web service and the other applies to the CampaignManagement web service.

The CustomerManagement version only contains five entries and is used with the AdCenterAccount.PreferredCurrencyType property. This currency type is for an account.

The CampaignManagement version is the larger one that contains Australian dollars (along with many others). This enumeration is used with the CampaignManagement.GetKeywordPositionEstimate method. This specifies the currency type to use when estimating the position of a keyword bid.

There is also a Currency enumeration that is used with the AdCenterCardInvoiceHeader.CurrencyCode property. This applies to a credit card invoice.

I realize that these are very confusing because of the overloaded enumeration names.

There is no way using the UI or the API to set the currency type for an account to anything other than the five possible values in the CurrencyType (CustomerManagement) enumeration.