I'm trying to get the Google Analytics API to work and have started with the basic tutorial from Google in PHP.
For some reason, I keep getting the following error message:
Error calling GET https://www.googleapis.com/analytics/v3/management/accounts?key=my_developer_key_from_the_console: (403) Access Not Configured
I couldn't find any solution to this, mainly because I believe I've set everything up correctly:
- The Analytics API is turned “on” in my Google Console
- OAuth2 works fine. I receive an access token.
- My quota hasn't been reached - not even close.
What am I missing?