We loved that Ocean Beach was so close to the home and we spent a lot of time at the beach multiple times throughout the day. We also loved that there were so many local shops/restaurants in walkable distance so we didn't have to drive much.
La Jolla was very accommodating in regards to having dogs which was a big plus!
Ocean Beach IS a dog beach so there are a lot of dogs and their human parents constantly in the area and on the beach. If you are not a dog person, Ocean Beach may not be for you as there is a noticeable smell in the beach area.