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 [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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
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/1d40b7e3-3dc6-4fa8-9f63-14c3661c63c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.