Hallo, I would be very happy if you help me with my API problem.
I always get the error message "The request did not contain a header named 'email'." What's wrong with my header? I copied it from a API Code sample. My Code snippet (I do not use nusoap) $headers = ' <?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> <applicationToken xmlns="https://adwords.google.com/api/adwords/ v13">abc</applicationToken> <developerToken xmlns="https://adwords.google.com/api/adwords/ v13">xyz</developerToken> <email xmlns="https://adwords.google.com/api/adwords/ v13">[EMAIL PROTECTED]</email> <password xmlns="https://adwords.google.com/api/adwords/ v13">password</password> <useragent xmlns="https://adwords.google.com/api/adwords/ v13">company name</useragent> </soap:Header> <soap:Body> <getAccountInfo xmlns="https://adwords.google.com/api/adwords/ v13"/> </soap:Body> </soap:Envelope>'; $client = new SoapClient('https://sandbox.google.com/api/adwords/v13/ AccountService?wsdl'); $result = $client->getAccountInfo($headers); --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
