The following code is executed to attempt to retrieve the data.
function main() { const sheet = SpreadsheetApp.openByUrl("Insert the URL of the spreadsheet we just created here.");
AdWordsApp.report('SELECT ResponsiveSearchAdDescriptions, ResponsiveSearchAdHeadlines' + ' FROM AD_PERFORMANCE_REPORT '
+ ' WHERE AdType = RESPONSIVE_SEARCH_AD ').exportToSheet(sheet.getActiveSheet());
}
After executing this code, you will see a lot of [object Object] on the spreadsheet.
This function is currently not working properly.
Does anyone know how to fix this?
Below is the logger.
ResponsiveSearchAdDescriptions ResponsiveSearchAdHeadlines
["[object Object]","[object Object]","[object Object]","[object Object]"] ["[object Object]","[object Object]","[object Object]","[object Object]","[object Object]","[object Object]","[object Object]","[object Object]","[object Object]","[object Object]","[object Object]","[object Object]","[object Object]","[object Object]","[object Object]"]