insert Google Analytics API query string Output in to Datatable
var request = _service.Data.Ga.Get(
"ga:" + myProfiles.Items[0].Id,
"2012-06-01", // start date
"2012-06-30", // end date
"ga:visitors,ga:pageviews" // metrics to include in report
);
request.Dimensions = "ga:date";
//request.Filters = "";
request.Sort = "ga:date";
request.StartIndex = 1;
request.MaxResults = 500;
GaData results = request.Fetch();
In Above Code the I want to asign the Object of GaData ( results ) to Datyatable.How can i Do this?
plz Provide me Ans..!!