Spam and block are both nouns here, and may or may not constitute a compound noun. The sentences I see are not "valid" sentences.
This is an advertisement and isn't expected to be made up of complete sentences (in many cases.) It's like a sign, or a newspaper headline.