How long has the manure been sitting in you coop/run before you cleaned it out?
In most cases when a compost pile start to smell it either need more air, or the Carbon /Nitrogen is not balanced (excess nitrogen).
Improper Carbon (C)/ Nitrogen (N) --- (The C:N level in a compost pile needs to be...