* @param {!Window} win * @param {string} placementId * @param {string} adType
(win, placementId, adType)
| 41 | * @param {string} adType |
| 42 | */ |
| 43 | function createAdUnit(win, placementId, adType) { |
| 44 | const el = document.createElement('vmfive-ad-unit'); |
| 45 | el.setAttribute('placement-id', placementId); |
| 46 | el.setAttribute('ad-type', adType); |
| 47 | win.document.getElementById('c').appendChild(el); |
| 48 | } |
| 49 | |
| 50 | /** |
| 51 | * @param {!Window} win |
no test coverage detected