Thanks for the clarification! I have a few more questions regarding the platforms. It looks to me that ReportCentral and DFA Reporting are both using the same data judging from 2 reports I generated with both platforms. Is this accurate? Also, is ReportCentral being eventually replaced by DFA Reporting? Currently, we're using ReportCentral for generating all our reports.
I noticed some of User Profiles have access to ReportBuilder and some do not. Why is that?
Regarding the access error that I was running into, I verified through the Report Builder UI that I can use the report that I generated through the DFA Reporting API and edit it to download Floodlight information. Is there something I'm missing in my API calls?
public static Report insertFloodLight(Dfareporting reporting, Long userProfileId, DimensionValue advertiser,
String startDate, String endDate) throws Exception {
System.out.println("=================================================================");
System.out.printf("Creating a new flood light report for advertiser %s%n", advertiser.getValue());
System.out.println("=================================================================");
// Create a report.
Report report = new Report();
report.setName(String.format("API Report: Advertiser %s", advertiser.getValue()));
report.setFileName("api_report_files");
report.setType("FLOODLIGHT");
// Create criteria.
Report.FloodlightCriteria floodlightCriteria = new Report.FloodlightCriteria();
floodlightCriteria.setDateRange(new DateRange().setStartDate(new DateTime(startDate)).setEndDate(new DateTime(endDate)));
floodlightCriteria.setDimensions(ImmutableList.of(new SortedDimension().setName("dfa:advertiser")
, new SortedDimension().setName("dfa:date")
, new SortedDimension().setName("dfa:placement")
, new SortedDimension().setName("dfa:placementRate")
, new SortedDimension().setName("dfa:paymentSource")));
floodlightCriteria.setMetricNames(ImmutableList.of("dfa:clicks", "dfa:impressions", "dfa:totalConversions", "dfa:totalConversionsRevenue"));
// floodlightCriteria.setMetricNames(ImmutableList.of("dfa:activityCount", "dfa:activityRevenue"));
floodlightCriteria.setDimensionFilters(ImmutableList.of(advertiser));
report.setFloodlightCriteria(floodlightCriteria);
Report result = reporting.reports().insert(userProfileId, report).execute();
System.out.printf("Created report with ID \"%s\" and display name \"%s\"%n", result.getId(),
result.getName());
System.out.println();
return result;
}