Thanks Anash! We're using two distinct SOAP ActiveX controls in the process, and I had added the second one for setting status on adgroups, and forgot to set the boolean to true to add the namespaces for v20, on the first execution.
Keith On Aug 31, 12:17 am, AdWords API Advisor <adwordsapiadvi...@google.com> wrote: > Hi, > > Your SOAP request is not a valid xml, you are missing the xml > namespace definition for v20 prefix. The server throws XML_STREAM_EXC > when it encounters an invalid SOAP request xml. > > Cheers, > Anash P. Oommen, > AdWords API Advisor. > > On Aug 30, 11:35 pm, RedZoneGlobal <ke...@redzoneglobal.com> wrote: > > > Sending: > > > <?xml version="1.0" encoding="utf-8"?> > > <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/ > > envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/ > > encoding/"> > > <SOAP-ENV:Header> > > <v20:RequestHeader> > > <v20:applicationToken xsi:type="xsd:string">###################</ > > v20:applicationToken> > > <v20:authToken xsi:type="xsd:string">###################</ > > v20:authToken> > > <v20:clientEmail > > xsi:type="xsd:string">############</v20:clientEmail> > > <v20:developerToken xsi:type="xsd:string">#################</ > > v20:developerToken> > > <v20:userAgent xsi:type="xsd:string">RedZoneGlobal</v20:userAgent> > > <v20:validateOnly xsi:type="xsd:boolean">false</v20:validateOnly> > > </v20:RequestHeader> > > </SOAP-ENV:Header> > > <SOAP-ENV:Body> > > <mutate xmlns="https://adwords.google.com/api/adwords/cm/v200909"> > > <v20:operations> > > <v20:operator>SET</v20:operator> > > <v20:operand > > xmlns='https://adwords.google.com/api/adwords/cm/ > > v200909'> > > <v20:id>##############</v20:id> > > > > <v20:campaignId>##############</v20:campaignId> > > <v20:status>PAUSED</v20:status> > > </v20:operand> > > </v20:operations> > > </mutate> > > </SOAP-ENV:Body> > > </SOAP-ENV:Envelope> > > > Receiving: > > > <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> -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en