I'm trying to access tge v201101 ServicedAccountService but keep getting a "authToken is missing in SoapHeader" error, even though the token certainly is there. Do I have the namespaces wrong or what can be the reason for this? My request is
<?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/v201101'> <authToken>XXXXXXX</authToken> <developerToken>XXXXXXX</developerToken> <userAgent>XXXXXXX</userAgent> </RequestHeader> </soap:Header> <soap:Body> <get xmlns='https://adwords.google.com/api/adwords/mcm/v201101'> <selector> <enablePaging>false</enablePaging> </selector> </get> </soap:Body> </soap:Envelope> And the response: <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.mcm.servicedaccounts.v201101.jaxbgen.ServicedAccountGraph com.google.ads.api.services.mcm.servicedaccounts.v201101.jaxbgen.ServicedAccountServiceInterface.get(com.google.ads.api.services.mcm.servicedaccounts.v201101.jaxbgen.ServicedAccountSelector) throws com.google.ads.api.services.mcm.servicedaccounts.v201101.jaxbgen.ApiException_Exception with params [com.google.ads.api.services.mcm.servicedaccounts.v201101.jaxbgen.ServicedAccountSelector@1ca54e5]. </faultstring> </soap:Fault> </soap:Body> </soap:Envelope> -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
