(global, data)
| 7 | * @param {!Object} data |
| 8 | */ |
| 9 | export function pulsepoint(global, data) { |
| 10 | // TODO: check mandatory fields |
| 11 | validateData(data, [], ['pid', 'tagid', 'tagtype', 'slot', 'timeout']); |
| 12 | if (data.tagtype === 'hb') { |
| 13 | headerBidding(global, data); |
| 14 | } else { |
| 15 | tag(global, data); |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | /** |
| 20 | * @param {!Window} global |
nothing calls this directly
no test coverage detected