Hi Rofel, You are getting this error because your XML is invalid. You can check your XML for validity using this online tool:
http://validator.w3.org/#validate_by_input In this case, your <userAgent> header field is being clodes with a </ developerToken> tag, which is invalid. Best, - Eric Koleda, AdWords API Team On Mar 9, 2:12 am, rofelpcrush <[email protected]> wrote: > Hi, > > I'm new with Google AdWords API integration and stucked with Classic > ASP. I was just wondering if someone can shed light to the > XML_STREAM_EXC faultstring. Since there's no client library for > Classic ASP, I had to resort to the old-fashioned way of sending XML > over HTTPS. Here's the request sent to > > https://adwords.google.com/api/adwords/cm/v200909/CampaignService > > <?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/cm/ > v200909'> > <applicationToken>xxxx</applicationToken> > <authToken>xxxx</authToken> > <clientEmail>[email protected]</clientEmail> > <developerToken>999999</developerToken> > <userAgent>rofel</developerToken> > </RequestHeader> > </soap:Header> > <soap:Body> > <get xmlns='https://adwords.google.com/api/adwords/cm/v200909'> > <selector /> > </get> > </soap:Body> > </soap:Envelope> > > ...and the response is HTTP Error Code 500 > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/ > envelope/"><soap:Body><soap:Fault><faultcode>soap:Client</ > faultcode><faultstring>XML_STREAM_EXC</faultstring></soap:Fault></ > soap:Body></soap:Envelope> > > This is just one of the first request that I'm trying to send to the > CampaignService and can't move past this problem. Please help. > > Rofel -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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
