Why is the javascript banner code recommended over HTML code?

The main reason for this recommendation is to support banner impression tracking with the javascript code. An ‘impression’ is recorded when a piece of media (which has been defined in the MyAffiliates system) is served by the system to a potential customer.

Most commonly, this means every time a banner is displayed on an affiliates web page through the ad-serving process in MyAffiliates.

If an affiliate has downloaded a banner and are displaying it through their own means, this will not count as an “impression” under MyAffiliates.   Similarly if an affiliate uses the HTML version of the media display code on their website instead of the javascript version, an impression will not be counted.