Hi Josh, thanks for your reply. That was my conclusion too. I didn't realise that the CampaignId and AdGroupId predicates are both optional, thus achieving the functionality we need. And as you say, sorting it afterwards is trivial.
My only reservation is for accounts with a vast number of keywords. OTTOMH we have some accounts with 100,000's of keywords. Do you foresee any issues with such a volume of data? Best, Peter On Thursday, March 26, 2015 at 8:20:22 AM UTC-4, Josh Radcliff (AdWords API Team) wrote: > > Hi Peter, > > The best way I can think of to achieve this is via reports. For example, > you could run a KEYWORDS_PERFORMANCE_REPORT > <https://developers.google.com/adwords/api/docs/appendix/reports#keywords> > with > the following fields: > > - Date > - CampaignId > - AdGroupId > - Id (the keyword criterion ID) > - KeywordText > - KeywordMatchType > - Clicks > > Reports do not support sorting, but you could take the output from the > report and sort it by descending *Clicks* to see the top keywords. You > may want to use *Month* in place of *Date* if you find that the *Date* field > produces too many rows for meaningful analysis. > > Thanks, > Josh, AdWords API Team > > On Wednesday, March 25, 2015 at 10:09:56 AM UTC-4, Peter Kingswell wrote: >> >> Hi, >> >> this has been asked a few years ago but I'd like to know as of the >> current API version, what the most efficient/best way of doing this is. >> Ideally the call would take parameters/predicates along the lines of: >> >> start date >> end date >> sort order e.g. Clicks | CPC | CTR >> parent entity ID - i.e. Ad Group ID or Campaign ID. *This would be >> optional and query all keywords in the account if omitted.* >> >> Many thanks, >> Peter >> >> p.s. the forum editor's bullet-point feature seems to be broken >> (Win/Chrome) >> >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/0de969f0-3fee-4645-ae2e-94135a981ea6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
