Hello Meenu, Do you mean getting the Keywords Performance Report data based on adGroupId? If yes, then you can do a report query like this below. You can refer in this PHP example code <https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201609/Reporting/DownloadCriteriaReportWithAwql.php> that shows how to generate a report.
SELECT CpcBid, Clicks, Impressions FROM KEYWORDS_PERFORMANCE_REPORT WHERE AdGroupId IN [ ]; //put your adGroupId's However, if you meant sorting (ORDER BY clause) the report data by AdGroupId, then unfortunately, it is not supported in AdWords API reports as discussed here <https://developers.google.com/adwords/api/docs/guides/awql#using_awql_with_reports>. That said, there is no way to do a report query and return the data ordered by the specified field (e.g. adGroupId). However, you can sort them manually once you have the report downloaded file. Please confirm. Regards, Joyce, AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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 --- 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 adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/4132aed9-a0ae-43d5-ae80-90bf931bea98%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.