0
votes

Is it possible to get data from Google Analytics data source via API with a given id?

I use uploadData to upload data to GA: https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference/management/uploads/uploadData

After uploading i get some response like accountId, customDataSourceId, id, status and uploadTime. With this information i want to grab informations from GA to use it for a end to end test.

1

1 Answers

0
votes

If you want to check that the upload itself went well, you can use the List method from the management API.

If you want to check that data you uploaded is properly being mapped inside GA, you should use the reporting API and query for whichever dimensions you uploaded.