//request account feed to get profile name
String[] profileList = getAccountList(tableId).get(0);
setProfileName(profileList[1]);
setQueryURL(getDataFeedQuery().toString());
// Make a request to the Data Feed.
DataFeed dataFeed = analyticsService.getFeed(getDataFeedQuery(), DataFeed.class);
dataList.add(new String[] {"Year", "Month", "Visits", "Transactions", "Quantity", "Unique Pg.V", "Bounce Rate", "eCommerce Conv.", "CI"});
NumberFormat f = NumberFormat.getInstance(Locale.US);
if (f instanceof DecimalFormat) {
((DecimalFormat) f).applyPattern("###.#");
}
// Put the results in a list of String arrays.
for (DataEntry entry : dataFeed.getEntries()) {
// Calculate bounce rate.
bounceRate = entry.doubleValueOf("ga:bounces") / entry.doubleValueOf("ga:entrances") * 100;
eComRate = entry.doubleValueOf("ga:transactions") / entry.doubleValueOf("ga:visits") * 100;
Metric myVisits = entry.getMetric("ga:visits");