Why is that a negative outcome (not in the case of scamming)? The advertiser makes a sale, and the customer gets something that they find value in. It's a win win situation.
Probably not explicitly illegal to do, but an unethical move that props up social harms for no constructive reason.