On Tuesday 30 March 2010, John Bliss elucidated thus:
> Lord.  I forgot:
>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>
> ...in my <soapenv:Envelope> tag.  I really hope that this short,
> embarrassing thread helps the next person NOT spend seven hours
> trying to fix this problem.

Pure curiosity:

Why are you assembling the XML yourself, instead of using a provided 
client library, or using the WSDL to generate objects programatically 
(or at run time).

Personally, I'm using Python Suds, which has proven to be a GREAT 
wrapper around the WSDL, and helped me create a just-under-300-line 
generic client object.  I don't even have to touch the XML, and I still 
have low-level access to the protocol if I need it.

Just wondering.

j

>
> On Mar 30, 11:03 am, John Bliss <bliss.j...@gmail.com> wrote:
> > I noticed that my <v20:operand
> > xmlns:v20="https://adwords.google.com/ api/adwords/cm/v200909"> was
> > missing
> > xsi:type="v20:BiddableAdGroupCriterion" and I've fixed that...but
> > the problem persists.  Please advise...
> >
> > On Mar 30, 10:41 am, John Bliss <bliss.j...@gmail.com> wrote:
> > > I'm getting "Unmarshalling Error: ParseError" when posting the
> > > following XML
> > > tohttps://adwords.google.com/api/adwords/cm/v200909/AdGroupCriter
> > >ionSer... What am I doing wrong...?
> > >
> > > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/
> > > envelope/" xmlns:v20="https://adwords.google.com/api/adwords/cm/
> > > v200909">
> > >     <soapenv:Header
> > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/ envelope/">
> > >         <v20:RequestHeader
> > > xmlns:v20="https://adwords.google.com/api/ adwords/cm/v200909">
> > >             <v20:applicationToken xmlns:v20="https://
> > > adwords.google.com/api/adwords/cm/v200909">
> > >                 [our app token]
> > >             </v20:applicationToken>
> > >             <v20:authToken
> > > xmlns:v20="https://adwords.google.com/api/ adwords/cm/v200909">
> > >                 [our auth token]
> > >             </v20:authToken>
> > >             <v20:clientEmail
> > > xmlns:v20="https://adwords.google.com/api/ adwords/cm/v200909">
> > >                 [our client email]
> > >             </v20:clientEmail>
> > >             <v20:developerToken
> > > xmlns:v20="https://adwords.google.com/ api/adwords/cm/v200909">
> > >                 [our dev token]
> > >             </v20:developerToken>
> > >             <v20:userAgent
> > > xmlns:v20="https://adwords.google.com/api/ adwords/cm/v200909">
> > >                 [our user agent]
> > >             </v20:userAgent>
> > >         </v20:RequestHeader>
> > >     </soapenv:Header>
> > >     <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/
> > > envelope/">
> > >         <v20:mutate
> > > xmlns:v20="https://adwords.google.com/api/adwords/ cm/v200909">
> > >             <v20:operations
> > > xmlns:v20="https://adwords.google.com/api/ adwords/cm/v200909">
> > >                 <v20:operator
> > > xmlns:v20="https://adwords.google.com/ api/adwords/cm/v200909">
> > >                     SET
> > >                 </v20:operator>
> > >                 <v20:operand
> > > xmlns:v20="https://adwords.google.com/api/ adwords/cm/v200909">
> > >                     <v20:adGroupId xmlns:v20="https://
> > > adwords.google.com/api/adwords/cm/v200909">
> > >                         [adGroupId]
> > >                     </v20:adGroupId>
> > >                     <v20:criterion xmlns:v20="https://
> > > adwords.google.com/api/adwords/cm/v200909"
> > > xsi:type="v20:Criterion"> <v20:id
> > > xmlns:v20="https://adwords.google.com/ api/adwords/cm/v200909">
> > >                             [id]
> > >                         </v20:id>
> > >                     </v20:criterion>
> > >                     <v20:destinationUrl xmlns:v20="https://
> > > adwords.google.com/api/adwords/cm/v200909">
> > >                         [destinationUrl]
> > >                     </v20:destinationUrl>
> > >                 </v20:operand>
> > >             </v20:operations>
> > >         </v20:mutate>
> > >     </soapenv:Body>
> > > </soapenv:Envelope>



-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to