Teixeira de Melo is only 3 blocks long.
Do you have the exact address?
If so, you can look on Google Maps Street View and have an idea.
And if the apartment is located on the first block next to the beach, that is not a bad location.
The farther away you get from the beach, particularly on this street, the less attractive it gets.
Now, you do not have to stay close to the beach in every street of Ipanema. It is more of an issue on this particular street.
In fact, some other streets in Ipanema farther away from the beach are the most desirable locations (short of beachfront), as they are quieter. The first two streets parallel to the beach is where all buses run, so they are much noisier than those farther away.