A dog walking along the water on the beach. 
a dog walking the beach close to the water 
A dog standing on the beach near the water. 
Dog walking on the edge of the water on a wide beach.
An animal standing on top of a beach near the ocean.