Thanks - I was able to make a successful call to the API based on this and another users' post.
-Bill On Dec 6, 7:03 am, AdWords API Advisor <adwordsapiadvi...@google.com> wrote: > Hi Bill, > > Your RequestHeader namespace is not correct, it should be > o:RequestHeader and the child nodes should be cm:userAgent and so on. > A sample xml snippet is shown below. > > <o:RequestHeader> > <cm:applicationToken>******</cm:applicationToken> > <cm:authToken>******</cm:authToken> > <cm:clientEmail>******</cm:clientEmail> > <cm:developerToken>******</cm:developerToken> > <cm:userAgent>******</cm:userAgent> > </o:RequestHeader> > > Cheers, > Anash P. Oommen, > AdWords API Advisor. > > On Dec 4, 12:41 am, Bill <b...@fuuzio.com> wrote: > > > > > > > > > Hi. > > > I am getting a 'Fault occurred while processing.' error while making > > the following call > > to:https://adwords-sandbox.google.com/api/adwords/o/v201008/TargetingIde... > > > <?xml version="1.0"?> > > <soapenv:Envelope > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > > xmlns:o="https://adwords.google.com/api/adwords/o/v201008" > > xmlns:cm="https://adwords.google.com/api/adwords/cm/v201008" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > <soapenv:Header> > > <RequestHeader> > > <authToken>xxxx </authToken> > > <userAgent>xxx</userAgent> > > <developerToken>x...@x.com++usd</developerToken> > > <clientEmail>x...@x.com</clientEmail> > > </RequestHeader> > > </soapenv:Header> > > <soapenv:Body> > > <o:get xmlns:o="https://adwords.google.com/api/adwords/o/v201008" > > xmlns:cm="https://adwords.google.com/api/adwords/cm/v201008"> > > <o:selector> > > <o:searchParameters xsi:type="o:RelatedToKeywordSearchParameter"> > > <o:keywords> > > <cm:text>cat</cm:text> > > <cm:matchType>BROAD</cm:matchType> > > </o:keywords> > > </o:searchParameters> > > <o:ideaType>KEYWORD</o:ideaType> > > <o:requestType>IDEAS</o:requestType> > > <o:paging> > > <cm:startIndex>0</cm:startIndex> > > <cm:numberResults>100</cm:numberResults> > > </o:paging> > > </o:selector> > > </o:get> > > </soapenv:Body> > > </soapenv:Envelope> > > > Any ideas on what I might be doing wrong? > > > Thanks. > > -Bill -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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