Do dogs have tonsils and adenoids?

Yes!!! they have palatine tonsils in the oropharynx located in the sides of their throat.

See related link below.