Hi Alexander, Is there a requestId header that is returned with the response?
Best, - Eric Koleda, AdWords API Team On Jun 10, 11:31 am, Alexander <[email protected]> wrote: > I'm using production environment to request the service (not > sandbox). > The developer token is in the "APPROVED" state. But i'm always getting > the error message "The developer token is invalid". > I have checked the credentials before posting. > Some advise? > > Here is the conversation with server. > Request to :https://adwords.google.com/api/adwords/v13/AccountService > <?xml version="1.0" encoding="UTF-8"?> > <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Header> > <email>real account emal</email> > <password>yyyyyy</password> > <useragent>iPhonePPCEditor</useragent> > <developerToken>approved developer token here</developerToken> > <applicationToken>my app. token</applicationToken> > </soap:Header> > <soap:Body><getClientAccounts /></soap:Body> > </soap:Envelope> > > Response: > <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:Body> > <soapenv:Fault> > <faultcode>soapenv:Server.userException</faultcode> > <faultstring>The developer token is invalid.</faultstring> > <detail> > <ns1:fault xmlns:ns1="https://adwords.google.com/api/adwords/v13"> > <ns1:code>42</ns1:code> > <ns1:message>The developer token is invalid.</ns1:message> > <ns1:trigger>my developer token</ns1:trigger> > </ns1:fault> > </detail> > </soapenv:Fault> > </soapenv:Body> > </soapenv:Envelope> > > Thanks! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
