The air quality in the central areas of Bangkok is pretty bad at street level given the huge amount of traffic snarl and imperfectly maintained engines.
If you were there for a month, I'd invest in some masks if you'll be walking around at street level.
Masks aren't always a sign of bad pollution in Asia, btw. You'll quite often see people wearing them in Japan, for instance, but that's not because of air quality issues.