I can't see the slightest problem with this. It's no different from a Facebook staff member, say, answering questions about Facebook. Or when someone who made a package which is free on git usefully and in detail answers questions about the topic.
The actual answer in question is incredibly informative, packed with technical information. To describe it as "spam" is just totally wrong.
There seems to be a strange sort of extreme anti-commercialism, sometimes, on SO - bizarre give that the entire raison d'etre of SO is to make a startup and sell it off. Like any other commercial enterprise or startup.
"I would still want to know as to how to deal with such posts." It's difficult to see what your actual problem is with the post, OP? Every single page on SO, 100%, has "ads" for SO (for their annoying job sites, etc) - are you against that in a similar way? What specifically do you object to or are you worried about??
I would still want to know as to how to deal with such posts.
You could read through the history to find the answer. (I'd give you an executive summary if I could, but I lost track of the discussion. If in doubt, I'd leave the post be, it's clearly more than a garbage link-only product recommendation.)