Adding Additional Assets
Here is a code snippet on how to correctly get additional assets for banners that are in the mobile category:
var asset1 = Adform.getAsset(1); // For the first asset. var asset2 = Adform.getAsset(2); // For the second asset.
Please see an example below:
var url = Adform.getAsset(1); var asset1 = document.getElementById('asset1'); asset1.src = url;