AdsApp.ReportRow
Stay organized with collections
Save and categorize content based on your preferences.
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'
];
}
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[[["\u003cp\u003e\u003ccode\u003eReportRow\u003c/code\u003e objects represent individual rows within a Google Ads report.\u003c/p\u003e\n"],["\u003cp\u003eThese objects behave like associative arrays, allowing access to data using GAQL column names as keys.\u003c/p\u003e\n"],["\u003cp\u003eYou can iterate through report rows using the \u003ccode\u003ereport.rows()\u003c/code\u003e and \u003ccode\u003erows.hasNext()\u003c/code\u003e/\u003ccode\u003erows.next()\u003c/code\u003e methods.\u003c/p\u003e\n"],["\u003cp\u003eColumn values are accessed by indexing the \u003ccode\u003eReportRow\u003c/code\u003e object with the column's GAQL name (e.g., \u003ccode\u003erow['metrics.clicks']\u003c/code\u003e).\u003c/p\u003e\n"]]],[],null,["# AdsApp.ReportRow\n\nRepresents a row of a report.\n\nNOTE: The [ReportRow](/google-ads/scripts/docs/reference/adsapp/adsapp_reportrow) works as an\nassociative array indexed by GAQL column name.\n\nTypical usage:\n\n```gdscript\n var rows = report.rows();\n while (rows.hasNext()) {\n var row = rows.next();\n // The row works as an associative array\n var clicks = row['metrics.clicks'];\n }\n```"]]