Obtain timezone of a Google Analytics 4 property?

Viewed 369
3 Answers

The Data API is for reporting purpose only.

For property and other GA related configurations, Admin API should be used. Here is the property.get method, the response of which has timeZone in it.

The Data API responses now contain a metadata object with "currencyCode" and "timeZone" strings. This is a part of an example response:

metadata-with-currencyCode-and-timeZone

More documentation on these fields will come out soon, and these fields will be available in the client libraries (i.e. python) soon.

Thanks, Brett

The Google Analytics Team

Related