AI-generated Key Takeaways
-
ReportRow objects represent a row of a report.
-
ReportRow objects function as associative arrays indexed by GAQL column names.
-
ReportRow objects can be iterated through to access data like metrics using their GAQL column names.
NOTE: The ReportRow works as an associative array indexed by GAQL column name.
Typical usage:
var rows = report.rows(); while (rows.hasNext()) { var row = rows.next(); // The row works as an associative array var clicks = row['metrics.clicks']; }