We study generalized complex cohomologies of generalized complex structures constructed from certain symplectic fiber bundles over complex manifolds. We apply our results in the case of left-invariant generalized complex structures on nilmanifolds and to their space of small deformations.