Okapi Okapi

Google APIs GET /analytics/v3/data/* version retirement

Stopped workingSubscribe to Google APIsShare

On July 1, 2024, GET /analytics/v3/data/* stopped working as Universal Analytics sunset. Requests to this endpoint now fail. The retirement affects all calls targeting the /analytics/v3/data/* path.


Calls it hits

  • GET /analytics/v3/data/*

What to use instead of these calls

Report on a Google Analytics 4 property with the Google Analytics Data API using runReport or runRealtimeReport on analyticsdata.googleapis.com. The transition requires more than updating an endpoint, as Universal Analytics data does not move and reports require a GA4 property along with new dimensions and metrics.

Universal Analytics data does not move: the reports need a GA4 property and new dimensions and metrics.

In Google APIs's words

Universal Analytics has sunset and is no longer available as of July 1, 2024.

Google APIs, Announcement

Facts

API
Google APIs www.googleapis.com
Kind
Version retirement
Takes effect
July 1, 2024
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Google APIs's own pages

Questions

When does this change take effect?

Calls to GET /analytics/v3/data/* on Google APIs stopped working on July 1, 2024.

What happens to calls after July 1, 2024?

They have failed since July 1, 2024.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from Google APIs 8

  1. GET /youtube/v3/searchParameter removal Stopped working
  2. POST /youtube/v3/comments/markAsSpamEndpoint removal Stopped working
  3. /youtube/v3/captionsParameter removal Stopped working
  4. GET /youtube/v3/commentThreadsParameter removal Stopped working
  5. /androidcheck/v1/*Removal Stopped working
  6. GET /customsearch/v1/siterestrictEndpoint removal Stopped working
  7. GET /customsearch/v1*Endpoint removal Stops workingin 56 days
  8. No date /drive/v3/files/{id}/permissions*Parameter removal Deprecated, no date

All 6 Google APIs API v3 breaking changes →


You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub

Get notifications

Subscribe to Google APIs

Hear about each breaking change Google APIs announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Google APIs

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.