Reports API Methods
viewGroup()
Opens the specified group path in the report.
You would want to use this to show a specific drill-down view of the report data.
Important Only applicable to the sessions summary by group and activity summary by group reports.
Examples
var reportObject = reportsApp.getReport("my-activity-summary-by-group-report");
reportObject.viewGroup({
"path": ["Simpson", "Springfield High"]
});
Arguments
-
groupPathObject object
-
path array[string]
The group path identifying a pathway through the dataset's group hierarchy.
-
Return value
None (undefined
).