How to retrieve customer id
- Hi,
I just want to know the way to retrieve a customer id? I have the account information but I don't know where to look for the customer id.
Thanks
解答
You only need the CustomerID for each of your customers only if you created them via CustomerManagement.CustomerSignUp in the API. Otherwise, you would use the single parent CustomerID for your company.
Please contact API Support to obtain your CustomerID
Jeff Dillon, API Support- 已標示為解答djartsinc版主2009年8月5日 上午 06:28
- 已取消提議為解答djartsinc版主2009年8月5日 上午 06:28
- 已提議為解答Jeff Dillon - MSFT 2009年7月13日 上午 01:48
所有回覆
- Hi,
As far as i know, there will no cutomer Id. We have Account Id(numeric) and Account Number(alpha numeric), for an account. Account Id is key to do major operations.
If you provide more information like, what do you mean by a customer id and what is the purpose, then i can help you more.
-Rajitha Yelda.
NetElixir Do you mean the CustomerID as returned by CustomerSignUp? We would recommend storing that value locally.
Jeff Dillon, API Support
- Hi,
We also need to retrieve the customer id because we do not have copy of it. We need it to support AdCenter API version 6 new request header. Is there a way to retrieve customer id of an existing customer?
Thanks
- Hello,
We too are in the same situation. We had not saved the customerId of the customers. Now for v6, we need this bit of information and what we have stored locally are the accountNumber and accountId only. Please let us know if there is any way at all to retrieve customerId for a particular accountId/accountNumber.
Thanks.
- Any update on this? We really need to get this information (Customer Ids) for us to incorporate V6 new features. Unfortunately, we could not test our code because we lack this information.
We're getting this soap fault for this specific operation, when we didn't specify Customer Id in our Soap Header Request.
Request:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://adcenter.microsoft.com/v6"><SOAP-ENV:Header><ns1:ApplicationToken></ns1:ApplicationToken><ns1:CustomerAccountId>xxx</ns1:CustomerAccountId><ns1:DeveloperToken>xxxxxxxxxx</ns1:DeveloperToken><ns1:Password>xxxxxxx</ns1:Password><ns1:UserName>xxxxxxxxxx</ns1:UserName><ns1:CustomerId></ns1:CustomerId></SOAP-ENV:Header><SOAP-ENV:Body><ns1:AddTargetsToLibraryRequest><ns1:Targets/></ns1:AddTargetsToLibraryRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
Response:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring xml:lang="en-US">The creator of this fault did not specify a Reason.</faultstring><detail><ApiFaultDetail xmlns="https://adcenter.microsoft.com/v6" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><TrackingId xmlns="https://adapi.microsoft.com">32632008-84a9-4bcc-b8ca-5e5837a3c5e2</TrackingId><BatchErrors/><OperationErrors><OperationError><Code>1029</Code><Details i:nil="true"/><ErrorCode>CampaignServiceCustomerIdHasToBeSpecified</ErrorCode><Message>Customer Id has to be specified for this operation.</Message></OperationError></OperationErrors></ApiFaultDetail></detail></s:Fault></s:Body></s:Envelope>
Please let us know if there is a way to retrieve customerId by accountId or accountNumber, because we have not stored this information locally.
Please reply ASAP.
Thanks
- Have you tried contacting either your account rep or msnacapi@microsoft.com?
Rebuilding Americas Credit - Auto Loans by Auto Credit Express - Hi dshevnock,
Thanks for the suggestion. I have already contacted msnacapi@microsoft.com, they said that the CustomerId is not currently available through API and they are working on it for future updates. For those who really want to get those information you can send the account IDs to msnacapi@microsoft.com and they will provide it.
Thanks You only need the CustomerID for each of your customers only if you created them via CustomerManagement.CustomerSignUp in the API. Otherwise, you would use the single parent CustomerID for your company.
Please contact API Support to obtain your CustomerID
Jeff Dillon, API Support- 已標示為解答djartsinc版主2009年8月5日 上午 06:28
- 已取消提議為解答djartsinc版主2009年8月5日 上午 06:28
- 已提議為解答Jeff Dillon - MSFT 2009年7月13日 上午 01:48

