Exporting Headline Data with Scripts

Been working on trying to get a script that exports headline data outside of just impressions. The data that you see when you go and look at the asset section in Google Ads where it shows you the impressions, clicks, cost, conversion, and conversion value for each of the headlines. However, it seems like Google Ads API is limited to only allowing you to export the impression data automatically using scripts. Wanted to know if there was a potential workaround for this.

CSV file is the data I would like to export. The screenshot is of the data I am currently exporting.

Headline report.csv