Hi John, We don't have a central repository of sample XML requests, but our goal is that through using the client libraries and/or referencing the developer documentation the structure of requests should be apparent. I'd also recommend taking a look at soapUI, a great program I use to send raw SOAP XML requests to the API server, which is great for debugging:
http://www.soapui.org/ Here is a quick sample of an AGC.mutate(SET) request: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/ envelope/" xmlns:v20="https://adwords.google.com/api/adwords/cm/ v200909" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header> <v20:RequestHeader> <v20:applicationToken>...</v20:applicationToken> <v20:authToken>...</v20:authToken> <v20:clientEmail>...</v20:clientEmail> <v20:developerToken>...</v20:developerToken> <v20:userAgent>...</v20:userAgent> </v20:RequestHeader> </soapenv:Header> <soapenv:Body> <v20:mutate> <v20:operations> <v20:operator>SET</v20:operator> <v20:operand xsi:type="v20:BiddableAdGroupCriterion"> <v20:adGroupId>...</v20:adGroupId> <v20:criterion xsi:type="v20:Criterion"> <v20:id>...</v20:id> </v20:criterion> <v20:destinationUrl>...</v20:destinationUrl> </v20:operand> </v20:operations> <v20:operations> <v20:operator>SET</v20:operator> <v20:operand xsi:type="v20:BiddableAdGroupCriterion"> <v20:adGroupId>...</v20:adGroupId> <v20:criterion xsi:type="v20:Criterion"> <v20:id>...</v20:id> </v20:criterion> <v20:destinationUrl>...</v20:destinationUrl> </v20:operand> </v20:operations> </v20:mutate> </soapenv:Body> </soapenv:Envelope> Best, - Eric Koleda, AdWords API Team On Feb 23, 11:28 am, John M Bliss <bliss.j...@gmail.com> wrote: > Similar to below, may I please have a sample request for > AdGroupCriterionService.mutate operator=SET for multiple criterion in one > AdGroup? > > (I'm expecting to see sample requests like this somewhere > underhttp://code.google.com/apis/adwords/v2009/docs/reference/but have been > unable to do so. Please let me know if they're there and I'm just missing > them.) > > On Mon, Feb 22, 2010 at 9:38 AM, AdWords API Advisor < > > adwordsapiadvi...@google.com> wrote: > > ...Here is a sample request: > > > <soapenv:Envelope > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/<http://schemas.xmlsoap.org/soap/%0Aenvelope/>" > > xmlns:v20="https://adwords.google.com/api/adwords/cm/v200909<https://adwords.google.com/api/adwords/cm/%0Av200909> > > "> > > <soapenv:Header> > > <v20:RequestHeader> > > -- > John Bliss > IT Professional > @jbliss (t) /http://www.brandiandjohn.com -- 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-...@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.