protected ReportDefinition instantiateReportDefinition(
ReportDefinitionReportType reportDefinitionReportType,
ReportDefinitionDateRangeType dateRangeType, Selector selector) {
// Create the Report Definition
ReportDefinition reportDefinition = new ReportDefinition();
reportDefinition.setReportName(REPORT_PREFIX
+ reportDefinitionReportType.value() + " "
+ System.currentTimeMillis());
reportDefinition.setDateRangeType(dateRangeType);
reportDefinition.setReportType(reportDefinitionReportType);
reportDefinition.setDownloadFormat(DownloadFormat.GZIPPED_CSV);
reportDefinition.setIncludeZeroImpressions(false);
reportDefinition.setSelector(selector);
return reportDefinition;
}