I'm trying to export RSA headlines and descriptions with impression metric. When I run the script below I only get one headline and one description per ad group. Not all of them. Is there any why I get all headlines and description with the number of impressions of each headline/description?
let ss = SpreadsheetApp.openByUrl(sheetUrl);
var query = AdsApp.report(
`
SELECT
campaign.name,
ad_group.name,
ad_group_ad.ad.responsive_search_ad.headlines,
ad_group_ad.ad.responsive_search_ad.descriptions,
metrics.impressions
FROM ad_group_ad
WHERE
segments.date DURING LAST_30_DAYS
AND campaign.status = 'ENABLED'
AND ad_group.status = 'ENABLED'
`
);
query.exportToSheet(ss.getSheetByName('Assets'));