After all advertisement is nothing but begging to increase the profit of the advertiser. If I really need to buy something, I'm sure I can do so without advertisement.
Advertisement, be it some marketing phone call, someone offering me whatever subscription on the corridor of the mall, and ads making my phone browsing experience super slow are a much bigger nuisance to me than beggars.
The amount of various form of soliticing might vary where you live. But forbidding everything that's a nuisance to someone won't be the solution.