There is nothing wrong as long as it is done in a transparent way. Without that transparency, authors are potentially subjecting their readers to click-tracking without being able to give appropriate disclosures.
I don't understand how far they need to go to show that they do this without being obnoxious. If they show the affiliate link instead it may confuse users (even in the status bar).