Home > adCenter API, MSN, SEM > MSN adCenter Sample CustomerManagement.GetAccount() Raw SOAP Response

MSN adCenter Sample CustomerManagement.GetAccount() Raw SOAP Response

October 20th, 2010

Here is a a sample of the raw SOAP from the production environment of MSN adCenter API v7 (ran using PHP and the built-in SOAP extension):

<s:Envelope xmlns:s=”http://schemas.xmlsoap.org/soap/envelope/”>
<s:Header>
<h:TrackingId xmlns:h=”https://adcenter.microsoft.com/api/customermanagement”>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</h:TrackingId>
</s:Header>
<s:Body>
<GetAccountResponse xmlns=”https://adcenter.microsoft.com/api/customermanagement”>
<Account i:type=”a:AdvertiserAccount” xmlns:a=”https://adcenter.microsoft.com/api/customermanagement/Entities” xmlns:i=”http://www.w3.org/2001/XMLSchema-instance”>
<a:AccountType>Advertiser</a:AccountType>
<a:BillToCustomerId>XXXXXX</a:BillToCustomerId>
<a:CountryCode>US</a:CountryCode>
<a:CurrencyType>USDollar</a:CurrencyType>
<a:FinancialStatus>ClearFinancialStatus</a:FinancialStatus>
<a:Id>XXXX</a:Id>
<a:Language>English</a:Language>
<a:LastModifiedByUserId>XXXXXX</a:LastModifiedByUserId>
<a:LastModifiedTime>2010-10-18T18:51:00.03</a:LastModifiedTime>
<a:Name>XXXXXXX</a:Name>
<a:Number>XXXXXXX</a:Number>
<a:ParentCustomerId>XXXXX</a:ParentCustomerId>
<a:PaymentMethodId>XXXXXXX</a:PaymentMethodId>
<a:PaymentMethodType i:nil=”true”/>
<a:PrimaryUserId>XXXXXXX</a:PrimaryUserId>
<a:Status>Pause</a:Status>
<a:TimeStamp>AAAAAANRv8U=</a:TimeStamp>
<a:TimeZone>EasternTimeUSCanada</a:TimeZone>
<a:AgencyContactName i:nil=”true”/>
<a:AgencyCustomerId i:nil=”true”/>
<a:SalesHouseCustomerId i:nil=”true”/>
</Account>
</GetAccountResponse>
</s:Body>
</s:Envelope>

As you can see, I X’ed out some of the confidential values that are passed back. You may also noticed that some of the element values are passed back as nil.

To see what the production SOAP request for the GetAccount call from the adCenter Customer Management service might look like, click http://shevnock.com/blog/2010/10/msn-adcenter-sample-customermanagement-getaccount-raw-soap/

Comments are closed.