I wonder if it's a referrer check. `if referrer == 'facebook': display_ads()`. That way the original viewer doesn't see the ad-filled page, but anyone clicking on the Facebook link does.
Yup, by default when you share a link using the official buttons it'll add tracking codes and referer query parameters to the request, easy to just slap on ads and crap if the link contains that.
Every time I use a web browser without an ad blocker I'm surprised at how shitty the web experience is.