AdWords API: Filtering by Criteria results in empty report(GENDER_PERFORMANCE_REPORT, AGE_RANGE_PERFORMANCE_REPORT)

36 views
Skip to first unread message

hiromi hishida

unread,
Apr 16, 2020, 9:11:01 PM4/16/20
to AdWords API and Google Ads API Forum
Hi,


When I tried to filter GENDER_PERFORMANCE_REPORT by Criteria(Gender), I always get empty report. "Criteria" is marked as "Filterable" in the document.
The behavior is same in AGE_RANGE_PERFORMANCE_REPORT.


https://developers.google.com/adwords/api/docs/appendix/reports/gender-performance-report#criteria
https://developers.google.com/adwords/api/docs/appendix/reports/age-range-performance-report#criteria

Both of ReportDefinition below result in empty report.

ReportDefinition1:
<reportDefinition><selector><fields>Criteria</fields><fields>Impressions</fields><predicates><field>AdNetworkType1</field><operator>IN</operator><values>CONTENT</values><values>YOUTUBE_SEARCH</values><values>YOUTUBE_WATCH</values><values>MIXED</values></predicates><predicates><field>Criteria</field><operator>IN</operator><values>GENDER_FEMALE</values></predicates><dateRange><min>20200401</min><max>20200405</max></dateRange></selector><reportName>test</reportName><reportType>GENDER_PERFORMANCE_REPORT</reportType><dateRangeType>CUSTOM_DATE</dateRangeType><downloadFormat>TSV</downloadFormat></reportDefinition>

ReportDefinition2:
<reportDefinition><selector><fields>Criteria</fields><fields>Impressions</fields><predicates><field>AdNetworkType1</field><operator>IN</operator><values>CONTENT</values><values>YOUTUBE_SEARCH</values><values>YOUTUBE_WATCH</values><values>MIXED</values></predicates><predicates><field>Criteria</field><operator>EQUALS</operator><values>Female</values></predicates><dateRange><min>20200401</min><max>20200405</max></dateRange></selector><reportName>test</reportName><reportType>GENDER_PERFORMANCE_REPORT</reportType><dateRangeType>CUSTOM_DATE</dateRangeType><downloadFormat>TSV</downloadFormat></reportDefinition>

Report:
Gender Impressions
Total 0


I can get non-empty reports without "Criteria" filter.
Is it bug or expected behavior??

regards,

Hiromi

Google Ads API Forum Advisor Prod

unread,
Apr 17, 2020, 1:14:55 PM4/17/20
to hishid...@gmail.com, adwor...@googlegroups.com

Hi Hiromi,


Thanks for reaching out. With regards to your concern about getting an empty result by criteria in the Gender Performance Report, As per provided your report definition 1, I noticed that the you are passing wrong values <values>GENDER_FEMALE</values> instead of can you please try with <values>Female</values> and in the report definition 2 you are passing incorrect operator <operator>EQUALS</operator> instead of please try with <operator>IN</operator>.

 Please try with passing <field>Criteria</field><operator>IN</operator><values>Female</values>.

 If you are still falling any issue, can you please share new the report definition and customer id, please reply privately to the author so that I can further investigate the issue.


Thanks,
Nirmita Patel Google Ads Team

 



ref:_00D1U1174p._5001UZYcEH:ref

hiromi hishida

unread,
Apr 19, 2020, 8:26:23 PM4/19/20
to AdWords API and Google Ads API Forum
Hi Nirmita,

Thank you for your reply.
I've successfully got the report by your advice.


regards,

Hiromi

2020年4月18日土曜日 2時14分55秒 UTC+9 adsapiforumadvisor:
Reply all
Reply to author
Forward
0 new messages