<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><ResponseHeader xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201409" xmlns="https://adwords.google.com/api/adwords/mcm/v201409"><ns2:requestId>0005084c430c10110ae0d8c4d8002aa6</ns2:requestId><ns2:serviceName>CustomerService</ns2:serviceName><ns2:methodName>get</ns2:methodName><ns2:operations>0</ns2:operations><ns2:responseTime>40</ns2:responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[QuotaCheckError.INVALID_TOKEN_HEADER @ ]</faultstring><detail><ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/mcm/v201409" xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201409"><ns2:message>[QuotaCheckError.INVALID_TOKEN_HEADER @ ]</ns2:message><ns2:ApplicationException.Type>ApiException</ns2:ApplicationException.Type><ns2:errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:QuotaCheckError"><ns2:fieldPath></ns2:fieldPath><ns2:trigger></ns2:trigger><ns2:errorString>QuotaCheckError.INVALID_TOKEN_HEADER</ns2:errorString><ns2:ApiError.Type>QuotaCheckError</ns2:ApiError.Type><ns2:reason>INVALID_TOKEN_HEADER</ns2:reason></ns2:errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>
var url='https://adwords.google.com/api/adwords/mcm/v201409/CustomerService?wsdl';
soap.createClient(url,function(err,client) {
client.addSoapHeader({RequestHeader: {
developerToken: "XXXXXXXXXXXXX",
userAgent: "API Project"
}},"","ns1","https://adwords.google.com/api/adwords/mcm/v201409");
client.setSecurity(new soap.BearerSecurity(accessToken));
client.get({},function(err,res){
console.log(err);
console.log(res);
})
});
"root": {
"Envelope": {
"Body": {
"Fault": {
"faultcode": "soap:Server",
"faultstring": "Unmarshalling Error: unexpected element (uri:\"https://adwords.google.com/api/adwords/cm/v201409\", local:\"RequestHeader\"). Expected elements are <{https://adwords.google.com/api/adwords/mcm/v201409}ApiExceptionFault>,<{https://adwords.google.com/api/adwords/mcm/v201409}RequestHeader>,<{https://adwords.google.com/api/adwords/mcm/v201409}ResponseHeader>,<{https://adwords.google.com/api/adwords/mcm/v201409}get>,<{https://adwords.google.com/api/adwords/mcm/v201409}getResponse>,<{https://adwords.google.com/api/adwords/mcm/v201409}mutate>,<{https://adwords.google.com/api/adwords/mcm/v201409}mutateResponse>"