GEO_PERFORMANCE_REPORT get empty

30 views
Skip to first unread message

Vincent Potter

unread,
Dec 22, 2020, 2:44:58 AM12/22/20
to AdWords API and Google Ads API Forum
Hi,
When I get this report by modifying this example: examples/adwords_axis/src/main/java/adwords/axis/v201809/reporting/ParallelReportDownload.java

But get empty csv files, however, the same Attribute and Metric in Google Ads UI has valid data.

Thanks.

ParallelReportDownload.java modified details:

selector.getFields().addAll(Arrays.asList("CampaignId", "AdGroupId", "Impressions", "Clicks", "Cost"));
->
selector.getFields().addAll(Arrays.asList("CampaignName", "CountryCriteriaId", "Clicks"));

reportDefinition.setReportType(ReportDefinitionReportType.ADGROUP_PERFORMANCE_REPORT);
->
reportDefinition.setReportType(ReportDefinitionReportType.GEO_PERFORMANCE_REPORT);

Google Ads API Forum Advisor Prod

unread,
Dec 22, 2020, 2:18:33 PM12/22/20
to jie...@gmail.com, adwor...@googlegroups.com
Hi Vincent,

The code example you shared is meant for running reports under all child accounts under an MCC level account. If you are running a report on a single account, please use of the other reporting examples like this one.

If you still face issues, please share your full report definition and CID through reply privately to author so I can take a closer look.

Regards,
Anthony
Google Ads API Team

Google Logo
Anthony
Google Ads API Team
 
 

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