Giants were considered part of the humanoid type in AC9 Creature Catalogue (1986). In the Rules Cyclopedia (1991), they became part of a humanoid subtype, giant humanoid. Creatures up to ogre size were considered humanoids, and anything larger than an ogre was a giant humanoid.
D&D 3rd edition
D&D 4th edition
D&D 5th edition
The giant type returned in the Monster Manual (5e) (2014).