
There are many bacteria and viruses that cause similar symptoms, and are generally lumped together as 'kennel cough'. The vaccine provides pretty good (though even the manufacturers freely admit it's not 100%) immunity against
some of them. When you take your dog to the vet make sure you keep him in the car until your appointment so that you don't fill the waiting room with infection.
Hope it's nothing serious. :)