Google Analytics API v4

Does Google Analytics integration work on API v4 batch get?

I’m trying to create a query like this tutorial (
but I keep getting error cause I’m not inserting the ids field…
Is this something to do with analytics older version? cause in the tutorial I only need to set “viewId”

Thanks in Advance!