Eric,

Join the club.  After much pain and suffering getting the Sandbox
InfoService routines working (the clientEmail Request Header either
must not exist or be different from other Serivce requests and not
include 'client+1'), we made the changes live this morning.  No matter
what we send to the InfoService, we get back:

    API-fault for InfoService-get: Internal Server Error(500), Fault
occurred while processing.

We are using our own Perl API.  Here is the original request:

[INFO] retrieve-quota-usage: POST 
https://adwords.google.com/api/adwords/info/v200909/InfoService
Content-Type: text/xml SOAPAction: #get <?xml version="1.0"
encoding="utf-8"?><soap:Envelope xmlns:cm="https://adwords.google.com/
api/adwords/cm/v200909" xmlns:enc="http://schemas.xmlsoap.org/soap/
encoding/" xmlns:info="https://adwords.google.com/api/adwords/info/
v200909" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance"><soap:Header><RequestHeader
xmlns="https://adwords.google.com/api/adwords/info/
v200909"><cm:authToken>XXX</cm:authToken><cm:userAgent>Rimm-Kaufman
Group GAPI v200909, [email protected]</
cm:userAgent><cm:developerToken>XXX</
cm:developerToken><cm:applicationToken>XXX</cm:applicationToken></
RequestHeader></soap:Header><soap:Body><get xmlns="https://
adwords.google.com/api/adwords/info/
v200909"><selector><serviceName>AdGroupService</
serviceName><methodName>updateAdGroupList</
methodName><dateRange><cm:min>2010-03-25</cm:min><cm:max>2010-03-25</
cm:max></dateRange><apiUsageType>UNIT_COUNT</apiUsageType></selector></
get></soap:Body></soap:Envelope>

Note, Eric, that we had to set the namespaces for our RequestHeader
elements to the cm namespace, not info.  And least this works for the
sandbox.

I guess the point is, no matter what we send to the live InfoService,
it always returns the ISE.

Anthony

On Mar 25, 4:10 pm, Eric <[email protected]> wrote:
> We are making the following SOAP request to the InfoServer.  The HTTP/
> SOAP response is given below and we are stumped as to the problem.  We
> are using the Java client jar.  Any insight would be appreciated.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/
> envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>   <soapenv:Header>
>     <ns1:useragent xmlns:ns1="https://adwords.google.com/api/adwords/
> info/v200909" soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> next" soapenv:mustUnderstand="0">XXX</ns1:useragent>
>     <ns2:email xmlns:ns2="https://adwords.google.com/api/adwords/info/
> v200909" soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
> soapenv:mustUnderstand="0">XXX</ns2:email>
>     <ns3:clientEmail xmlns:ns3="https://adwords.google.com/api/adwords/
> info/v200909" soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> next" soapenv:mustUnderstand="0">XXX</ns3:clientEmail>
>     <ns4:developerToken xmlns:ns4="https://adwords.google.com/api/
> adwords/info/v200909" soapenv:actor="http://schemas.xmlsoap.org/soap/
> actor/next" soapenv:mustUnderstand="0">XXX</ns4:developerToken>
>     <ns5:applicationToken xmlns:ns5="https://adwords.google.com/api/
> adwords/info/v200909" soapenv:actor="http://schemas.xmlsoap.org/soap/
> actor/next" soapenv:mustUnderstand="0">XXX</ns5:applicationToken>
>     <ns6:authToken xmlns:ns6="https://adwords.google.com/api/adwords/
> info/v200909" soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> next" soapenv:mustUnderstand="0">XXX</ns6:authToken>
>   </soapenv:Header>
>   <soapenv:Body>
>     <get xmlns="https://adwords.google.com/api/adwords/info/v200909";>
>       <selector>
>         <apiUsageType>TOTAL_USAGE_API_UNITS_PER_MONTH</apiUsageType>
>       </selector>
>     </get>
>   </soapenv:Body>
> </soapenv:Envelope>
>
> HTTP/1.0 500 Internal Server Error
> Content-Type text/xml; charset=UTF-8
> Date Thu, 25 Mar 2010 19:46:10 GMT
> Expires Thu, 25 Mar 2010 19:46:10 GMT
> Cache-Control private, max-age=0
> X-Content-Type-Options nosniff
> X-Frame-Options SAMEORIGIN
> Server GSE
> X-XSS-Protection 0
>
> no Content-Length
>
> XML received:
> -----------------------------------------------
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
>   <soap:Body>
>     <soap:Fault>
>       <faultcode>soap:Server</faultcode>
>       <faultstring>Fault occurred while processing.</faultstring>
>     </soap:Fault>
>   </soap:Body>
> </soap:Envelope>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to