It seems to me that even though the intention of that is discriminatory in some way (and not necessarily against protected classes - the Whole Foods ads might be simply to target higher-income tenants), it's not in fact exclusionary. There's nothing preventing anyone who's not the normal target of these ads from going to Whole Foods or buying those newspapers. In FB's case the excluded audience has no chance of ever seeing those ads.
Sure. But income or wealth aren't protected classes. And anyone can walk into a Whole Foods just to see the ads, without spending any money. There is targeting happening when you advertise in Whole Foods but it's not discriminatory against a protected class.