Hi Lee, Your XML looks correct, here's what worked for me:
<o:searchParameters xsi:type="o:AverageTargetedMonthlySearchesSearchParameter"> <o:operation> <o:minimum>500000</o:minimum> </o:operation> </o:searchParameters> It could be that your namespaces are not configured correctly. Please ensure that the namespace n3 is defined in the document. Best, - Eric Koleda, AdWords API Team On Aug 2, 7:36 pm, Lee <okeefe....@gmail.com> wrote: > Hello, > I cant seem to get the AverageTargetedMonthlySearchesSearchParameter > to work properly. I am using Ruby but cant use Soap4r since it is > broken in 1.9 and could not find an example where the > AverageTargetedMonthlySearchesSearchParameter was used so I could look > at its Soap request. I have pieced together this section of the > request (below) and it no longer gives me server errors but it seems > like the minimum targeted search is being ignored. > > <n3:searchParameters > xsi:type="n3:AverageTargetedMonthlySearchesSearchParameter"> > <n3:operation xsi:type="n8:LongComparisonOperation" > xmlns:n8="https://adwords.google.com/api/adwords/cm/v201003"> > <n8:minimum>1000</n8:minimum> > </n3:operation> > </n3:searchParameters> > > I figure I am just way off but the documentation is not helping me. I > am using this in a keyword expansion search (IDEAS) and a search to > get keyword statistics (STATS). Does anyone know what the > AverageTargetedMonthlySearchesSearchParameter XML should look like? > > Thanks, > Lee -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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