Automate Your YouTube Analytics Reporting with Google Sheets

Author Image By Sapna Parashar

Last Updated: April 16, 2024

1 minute


Streamlining Analytics: Welcome to our tutorial on automating your YouTube reporting using Google Sheets and Google Apps Script. This integration will allow you to receive weekly YouTube analytics directly in a spreadsheet, simplifying the way you track your channel’s performance.

Setting Up Your Spreadsheet

First Steps to YouTube Automation: Begin by opening a new Google spreadsheet and naming it appropriately. Then, access the ‘Extensions’ menu and select ‘Apps Script’. Here, you’ll paste the provided Google Apps Script code, which you can find in the description box of this video.

Configuring the Script

Personalizing the Code: After pasting the script, replace the placeholders with your specific details, such as the spreadsheet ID, channel ID, recipient ID, and API key. These identifiers link your YouTube channel to the spreadsheet, enabling the automated reporting process.

Running the Script

Executing the Integration: With all details in place, run the script and grant the necessary permissions. This will initiate the data transfer, and upon completion, your spreadsheet will refresh to display updated headers like ‘Videos’, ‘Shorts’, ‘Total Subscribers’, and more.

Setting Up Triggers

Regular Updates: To receive continuous updates, return to the Apps Script code and set up triggers. Choose the ‘get weekly status’ function, set the event source to ‘Time-driven’, and specify the interval for updates. This ensures your YouTube channel’s status is updated regularly in your sheet.


Enhanced Reporting Efficiency: By automating YouTube reporting with Google Sheets, you gain a powerful tool for monitoring your channel’s growth and engagement. Follow these steps to set up your automated reporting system and enjoy streamlined analytics at your fingertips.

Categories: Automation


Leave a Reply

Avatar placeholder