ContentService is used to provide text content as a web application. The line of code you showed does nothing. Assuming this is the one-line body of the doGet() function that you deployed as a web application, this is why you can't see anything:
Since we donβt have content, thereβs nothing to download, so you see, well, nothing.
CSV Downloader Script
This script will receive the text content of the csv file on your Google Drive and submit it for download. After you save the version of the script and publish it as a web application, you can direct the browser to the published URL to start the download.
Depending on your browser settings, you can select a specific local folder and / or change the file name. You have no control over this from the server side where this script is executed.
function doGet() { var fileName = "test.csv" return ContentService .createTextOutput()
source share