Display a custom HTML block to free users only

Is there any way I can make a HTML block in an article only appear to free or non-logged in users?

I would like to serve ads on certain articles to free users only.

Any help is much appreciated.


I’d like to know if this is possible too