Almsot done with the V13>2009 upgrade, am in a fight with getting API
usage counts.  Am using same SOAP header that is working for other
V2009 calls (except to change the "CM" to "info"), but get an error
that says that no auth token is supplied.  Auth token looks to me to
be there, and is for an MCC account.  What did I do wrong?  The error
XML looks different from the error XML from campaign management calls,
should that be the case?

thanks,
reed

SOAP REQUEST:
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:v20="https://adwords.google.com/api/adwords/info/v200909";>
<soapenv:Header> <v20:RequestHeader> <v20:authToken>***</
v20:authToken> <v20:developerToken>***</v20:developerToken>
<v20:userAgent>xxV2009 Get Info</v20:userAgent> </v20:RequestHeader> </
soapenv:Header> <soapenv:Body> <v20:get> <v20:selector>
<v20:apiUsageType>OPERATION_COUNT</v20:apiUsageType> <v20:dateRange>
<v20:min>20100301</v20:min> <v20:max>20100331</v20:max> </
v20:dateRange> <v20:clientEmails/> </v20:selector> </v20:get> </
soapenv:Body> </soapenv:Envelope>

RESPONSE (500 Internal Server Error):
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
envelope/"><soap:Body><soap:Fault><faultcode>soap:Server</
faultcode><faultstring>authToken is missing in SoapHeader. while
invoking public abstract
com.google.ads.api.services.info.v200909.jaxbgen.ApiUsageInfo
com.google.ads.api.services.info.v200909.jaxbgen.InfoServiceInterface.get(com.google.ads.api.services.info.v200909.jaxbgen.InfoSelector)
throws
com.google.ads.api.services.info.v200909.jaxbgen.ApiException_Exception
with params
[com.google.ads.api.services.info.v200909.jaxbgen.infoselec...@57ee2c].</
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 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