On behalf of the Google Analytics team I would like to announce the following updates to the Google Analytics Admin API:
An upcoming breaking change to the Admin API.
The DataStream resource has been added to the API, along with the corresponding properties.dataStreams.create, properties.dataStreams.delete, properties.dataStreams.patch, properties.dataStreams.list operations. This functionality will replace existing WebDataStream, IosAppDataStream, AndroidAppDataStream resources in Jan 2022.
Once the above change is implemented, existing functionality for managing Measurement Protocol secrets (properties.webDataStreams.measurementProtocolSecrets, properties.iosAppDataStreams.measurementProtocolSecrets, properties.androidAppDataStreams.measurementProtocolSecrets) will be consolidated under properties.dataStreams.measurementProtocolSecrets.
Admin API client libraries will be updated shortly to include the DataStream resource.
Please migrate your existing code to use the new DataStream resource.
Feedback
As part of the testing process, we kindly ask you to answer a quick Google Analytics 4 APIs Tester Survey and provide any feedback you have regarding the testing experience.
Ilya,
The Google Analytics Team