Hi. I'm Dr. Gotthelf. I have been a skin and ear vet for 33 years and I would like to use my experience to help you with your pet's medical problem.
Doggie odor is most often a combination of excessive secretion of skin oils (seborrhea) being broken down by the bacteria and/or yeasts that live on the skin. The breakdown of the oils causes things called volatile fatty acids to form, which have a rancid odor to them.
The best way to habdle this is to use a special anti-seborrheic shampoo twice a week to degrease the dog. Then Use either an antibiotic or an anti-yeast medication or both as prescribed by your vet.
Many of these seborrheic dogs are that way because of allergic skin disease bringing more blood to the skin oil glands. So treating the allergies will sometimes reduce the oily secretion on the skin.