Hi Nellle, Yes, you are correct, Search Query Performance <https://developers.google.com/adwords/api/docs/appendix/reports/search-query-performance-report> Report returns data with non-zero impressions even though the search terms have zero clicks. This said, could you provide your clientCustomerId and the complete report definition <https://developers.google.com/adwords/api/docs/guides/reporting#create_a_report_definition> you used in generating the report? Please reply via the *Reply privately to author*.
Best regards, Luis AdWordsAPI Team On Wednesday, October 10, 2018 at 4:47:54 AM UTC+8, Nellle Rickchards wrote: > > Hello, > I'm using the search_query_performance_report to find additional keywords > for our account. I'm running into an issue as my query is only returning > search terms with atleast one click. > > Ideally, it should return search terms with one ore more impressions (even > if it had 0 clicks). > > Here is my code: > > output = io.StringIO() > > report_query = { > 'reportName': 'All Time days SEARCH_QUERY_PERFORMANCE_REPORT', > 'dateRangeType': 'ALL_TIME', > 'reportType': 'SEARCH_QUERY_PERFORMANCE_REPORT', > 'downloadFormat': 'CSV', > 'selector': { > 'fields': ['Query', 'AdGroupName', 'AdGroupId', 'Impressions', > 'Clicks', 'QueryTargetingStatus'], > 'predicates': [ > { > 'field': 'AdGroupId', > 'operator': 'IN', > 'values': adgroup_ids, > }, > { > 'field': 'QueryTargetingStatus', > 'operator': 'IN', > 'values': 'NONE', > }, > { > 'field': 'Impressions', > 'operator': 'GREATER_THAN', > 'values': impressions_threshold, > } > ] > } > } > > report_downloader.DownloadReport( > report_query, > output, > skip_report_header=True, > skip_column_header=False, > skip_report_summary=True, > include_zero_impressions=False) > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads 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/037b8e72-9130-49db-a627-a8a39d72a37d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.