I’ve done the same thing with a wire coat hanger and an empty water bottle. Just push the coat hanger through the water bottle, put a couple of small notches on either side of the bucket and hang the hanger in those notches. Works just as well.
One thing though. Don’t forget to check the bucket every other day. Those things tend to get to stinkin’ pretty bad. I used it for chipmunks last year.
I use a pill bottle, water,bleach and rv anti-freeze when i close the cabins.