It seems that Google Classroom API may be down this morning, is there any way to know that is the case (my code is failing, but I don't think it's my side.)
I can't find a down detector for Google Classroom API.
You can view the status of their services using Google Workspace Status Dashboard
This page provides status information on the services that are part of Google Workspace
You could also see the history of issues at the bottom link
For under Google Ads, visit Google Ads Status Dashboard
For other issues, you can visit Issue Tracker and search for related posts reported by other users.