Ptolemy’s understanding of the planet’s whereabouts
I suppose you mean in three dimensions, but anyhow…
Yes, Ptolemy did know that planets move also in latitude, not only in longitude, and thus the Almagest includes sections for how to predict the latitude of a planet for a given moment. In fact, Book XIII of the Almagest is entirely written about this specific subject of the latitude of the planets.