why I got a null report ?

68 views
Skip to first unread message

张君峰

unread,
Nov 27, 2014, 5:02:18 AM11/27/14
to adwor...@googlegroups.com

The reason in the pictures.

Can anyone help me?

Danial Klimkin

unread,
Nov 28, 2014, 7:07:40 AM11/28/14
to adwor...@googlegroups.com
What is the report definition you are using? Which account do you ran report against?


-Danial, AdWords API Team.

张君峰

unread,
Nov 30, 2014, 9:26:33 PM11/30/14
to adwor...@googlegroups.com
api.adwords.clientCustomerId=522-517-5857

             selector.getFields().addAll(Lists.newArrayList(
       "Cost",
       "Date"));

   DateRange dateRange = new DateRange();
   dateRange.setMin("20140905");
   dateRange.setMax("20140925");
   selector.setDateRange(dateRange);
   
   ReportDefinition reportDefinition = new ReportDefinition();
   reportDefinition.setReportName("Account performance report #" + System.currentTimeMillis());
   reportDefinition.setDateRangeType(ReportDefinitionDateRangeType.CUSTOM_DATE);
   
   reportDefinition.setReportType(ReportDefinitionReportType.ACCOUNT_PERFORMANCE_REPORT);
   reportDefinition.setDownloadFormat(DownloadFormat.CSV);
    
   reportDefinition.setIncludeZeroImpressions(false);
   reportDefinition.setSelector(selector);

在 2014年11月28日星期五UTC+8下午8时07分40秒,Danial Klimkin写道:

Zhuo Chen

unread,
Dec 1, 2014, 11:05:36 PM12/1/14
to adwor...@googlegroups.com
It's because that account only contains a video campaign.
Reply all
Reply to author
Forward
0 new messages