Original: In countries where prostitution is legal, advertising it may be legal (as in the Netherlands) or illegal (as in Germany).
Simplified: There are some places, where prostitution is legal, but advertising for it is not. In the Netherlands, both prostitution and advertising for it are legal.