In Command & Conquer: Generals Zero Hour, the serial number is essentially your product key. You'll usually find it printed on the back of the game's box or somewhere in the manual.
It typically looks like a string of characters grouped by dashes, for example something in the format XXXX-XXXX-XXXX-XXXX-XXXX. Keep in mind that's just an example of the layout, not a working code. You'll need the actual key that came with your copy to install or register the game.