Hi Margaret, Looks like KeywordId isn't a valid column name in the report you are trying to run. The full list of API reports and their fields are available at http://code.google.com/apis/adwords/docs/appendix/reports.html. Also, filtering in AdWords reports correspond to predicates in AdWords API reports. See http://code.google.com/apis/adwords/docs/reference/latest/ReportDefinitionService.Predicate.html for details on predicates.
Cheers, Anash P. Oommen, AdWords API Advisor. On Tuesday, 20 March 2012 00:03:43 UTC+5:30, mm wrote: > > Hey guys - > Using the adwords web interface, I am able to select a subset of keywords > and then request the search queries related to those keywords for a given > timeframe. I am trying to duplicate that report via the API, but when I add > the KeywordId predicate to the report definition, I get "HTTP_BAD_REQUEST. > Error: !!!2|||-1|||ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT @ ; > trigger:'KeywordId'???"... without the KeywordId predicate the report runs > fine. > > What's the secret to getting this report filtered in the same way as > through the UI? > > Thanks! > Margaret > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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