Hey,

I am using ServicedAccountService to receive some data for a new
account that want to get service by my web application.
The data I need from this service is: CompanyName and currencyCode.
As previously told, I now ask my user to provide his CustomerId.
That's is working good for some accounts but returning an "empty"
account in some cases like.
I'm using the auto-generated WSDL C# codes.
Example for a non-working account SOAPs:

Request:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/
XMLSchema"><soap:Header><RequestHeader xmlns="https://
adwords.google.com/api/adwords/mcm/v201109"><authToken xmlns="https://
adwords.google.com/api/adwords/cm/v201109">XXXXXXXXXXXXX</
authToken><clientCustomerId xmlns="https://adwords.google.com/api/
adwords/cm/v201109">2XXXXXXXX1</clientCustomerId><developerToken
xmlns="https://adwords.google.com/api/adwords/cm/
v201109">VXXXXXXXXXXXw</developerToken><userAgent xmlns="https://
adwords.google.com/api/adwords/cm/v201109">C# Client Library</
userAgent></RequestHeader></soap:Header><soap:Body><get xmlns="https://
adwords.google.com/api/adwords/mcm/
v201109"><selector><enablePaging>true</
enablePaging><submanagersOnly>false</submanagersOnly></selector></
get></soap:Body></soap:Envelope>

Response:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
envelope/"><soap:Header><ResponseHeader xmlns:ns2="https://
adwords.google.com/api/adwords/cm/v201109" xmlns="https://
adwords.google.com/api/adwords/mcm/
v201109"><ns2:requestId>0004b71fdee06a280aecb0aa00005de7</
ns2:requestId><ns2:serviceName>ServicedAccountService</
ns2:serviceName><ns2:methodName>get</ns2:methodName><ns2:operations>0</
ns2:operations><ns2:responseTime>28</ns2:responseTime><ns2:units>0</
ns2:units></ResponseHeader></soap:Header><soap:Body><getResponse
xmlns="https://adwords.google.com/api/adwords/mcm/v201109";
xmlns:ns2="https://adwords.google.com/api/adwords/cm/
v201109"><rval><accounts><customerId>0</
customerId><canManageClients>false</canManageClients></accounts></
rval></getResponse></soap:Body></soap:Envelope>

Why does it work for some accounts and for some it doesn't?
What should I do to make it work for all accounts?

Thanks for taking the time to read this and help.
Roee.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to