Does anyone know the new account data url used by the GAPI 1.3.1 class? The current one is
https://www.google.com/analytics/feeds/accounts/default but it goes to a 404
Regards,
Does anyone know the new account data url used by the GAPI 1.3.1 class? The current one is
https://www.google.com/analytics/feeds/accounts/default but it goes to a 404
Regards,
Account data url: https://www.googleapis.com/analytics/v2.4/management/accounts/~all/webproperties/~all/profiles
Report data url: https://www.googleapis.com/analytics/v2.4/data
Then inside your code, where you had: https: // www.google.com/ analytics/feeds/accounts/default will be replaced with: https:// www. googleapis.com/ analytics /v2.4/management/accounts
There is one more change to do. Each call for info will have to also include the API Key as a GET param named key
Example: https://www.googleapis.com/analytics/v2.4/management/accounts?start-index=1&max-results=100&key=API_KEY
I am sorry, I am new here and I can't paste links yet. Hope to get better :)
See Account Feed Shutdown
While using GAPI 1.3.1, you can request a list of accounts available to the user by calling the list method for accounts. In PHP this will look like:
See https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtAccountGuide for more details about querying the GA Management API with GAPI.