Sounds like Kennel Cough to me, similar thing happen with my dog, just started doing it in the middle of the night, kept her calm and that but it was like she had a coughing fit at least every hour and would sometimes hock up saliva, a trip to the vet and medication and she was fine, apparently there are different forms of Kennel Cough so best to go to the vet.
Cheers,