Disclaimer. This is overkill solution, but will provide a lot of peace of mind without creating a lifetime long war with your neighbors.
If you have some land in your property, building a big pond will made the ducks much happier, healthier and much more safe against predators. Specially if is deep enough and you put a small island in the center and dense shrubs. Will remove a lot of your daily chores with the ducks like adding fresh water to drink day after day or cleaning faeces; and will provide also free food for the ducks.
Ponds are not for every garden, but can be also very beautiful if marsh flowers and shrubs are left grow, and also protect the house from wildfires. Ducks will happily ruin a small pond in a week but middle size and large will be fine.
Cons: Small toddlers need to be watched near water at any time, some mosquitoes will appear and some frog species can be noisy