I can't extract any data from GEO_PERFORMANCE_REPORT [python]

22 views
Skip to first unread message

hs c

unread,
May 25, 2020, 5:34:35 AM5/25/20
to AdWords API and Google Ads API Forum
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]}]
   
}
}


Isn't it right syntax to extract data from GEO_PERFORMCANC_REPORT ?

please let me know how to use 'predicates'

Google Ads API Forum Advisor Prod

unread,
May 26, 2020, 3:03:31 PM5/26/20
to hanseol...@gmail.com, adwor...@googlegroups.com

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



 

ref:_00D1U1174p._5004Q1zriuk:ref
Reply all
Reply to author
Forward
0 new messages