AdsApp.​ReportRow

  • 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.

Represents a row of a report.

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' 
 ]; 
  
 } 
Design a Mobile Site
View Site in Mobile | Classic
Share by: