Putting a bottle of water on your lawn is not an effective way to keep dogs away. Although there is a widely circulated belief that this method works by reflecting sunlight or emitting an irritating odor, there is no scientific evidence to support these claims.
Dogs may initially show curiosity toward the reflective bottle, but they quickly get used to it, and the deterrent effect does not persist.