report_fmt = {
'reportName': 'GEO_PERFORMANCE_REPORT',
'dateRangeType': 'CUSTOM_DATE',
'reportType': 'GEO_PERFORMANCE_REPORT',
'downloadFormat': 'CSV',
'selector': {
'fields': ['CountryCriteriaId', 'CampaignId', 'CampaignName',
'Impressions', 'Clicks', 'Cost'],
'dateRange': {'min': target_date, 'max': target_date},
'predicates': [{'field': 'IsTargetingLocation', 'operator': 'IN', 'values': [True, False]}]
}
}
Hi,
Thank you for reaching out. The syntax is correct. You could refer to this documentation for more details of the fields in the predicate object.
Thanks and regards,
Xiaoming, Google Ads API Team