Learn business growth with Google Analytics 4 › Forums › Google Analytics 4 › How to connect to the Google Analytics 4 API using PHP › Reply To: How to connect to the Google Analytics 4 API using PHP
-
It seems like your service account doesn’t have the right permissions, despite you using admin permission. Make sure you’ve added the client_email from your service account to your Google Analytics with correct permissions. Also, check if your view’s ID is correct. If all else fails, try starting the process from scratch to catch any unseen errors.