Hi, If you want to sort the results you'll have to download them all and sort them client-side.
Best, - Eric Koleda, AdWords API Team On Nov 4, 7:54 pm, YK <[email protected]> wrote: > My question is how do I get the Top Keywords for the individual > adgroups > > I have multiple adgroups for a campaign. I get them with: > > $dateRange->min = $startdate; > $dateRange->max = $enddate; > $statsSelector->dateRange = $dateRange; > $selector->statsSelector = $statsSelector; > $selector->campaignId = $campaignId; > // Get all ad groups. > $page = $adGroupService->get($selector); > > Then I get All keywords for the campaign. > //get data related to keywords for top 15 keywords > echo $data_key=getKeywordXmlReport( > 'Report Name', > $_GET['startdate'], > $_GET['enddate'], > array('Keyword', 'KeywordId'), > array('Monthly'), > array(), > array(), > array(), > array(), > array(), > array(), > array(), > array(), > false, > array(), > false, > 30, > false > ); > > My question is how do I get the Top Keywords for the individual > adgroups -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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
