AdsApp.SearchRow
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
A SearchRow represents a row of a report and is a JavaScript Object holding all requested values.
The values within a SearchRow are nested inside the row object.
You can access values in a SearchRow like an associative array, for example, row.campaign.id to get the campaign ID.
Represents a row of a report.
NOTE: The SearchRow is a JavaScript
Object, holding all values requested. These values are nested inside the row
object.
Typical usage:
varquery='SELECT campaign.id, campaign.name FROM campaign';varrows=AdsApp.search(query);while(rows.hasNext()){varrow=rows.next();//Therowworksasanassociativearrayvarcampaign=row.campaign;varid=campaign.id;varname=campaign.name;}
[[["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-10-16 UTC."],[],[]]