You cannot type in G1 characters in Transformers: The Game on Xbox 360. The game has no character customization or code-entry system for unlocking specific G1 versions.
The campaign follows a fixed narrative with pre-defined characters from various Transformers eras (some G1-inspired designs appear).