We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05d0bf9 commit 8a3b191Copy full SHA for 8a3b191
src/adapters/gumgum.js
@@ -10,8 +10,16 @@ const GumgumAdapter = function GumgumAdapter() {
10
11
const bidEndpoint = `https://g2.gumgum.com/hbid/imp`;
12
13
- const WINDOW = global.top;
14
- const SCREEN = WINDOW.screen;
+ let WINDOW;
+ let SCREEN;
15
+
16
+ try {
17
+ WINDOW = global.top;
18
+ SCREEN = WINDOW.screen;
19
+ } catch (error) {
20
+ utils.logError(error);
21
+ return;
22
+ }
23
24
function _callBids({ bids }) {
25
const browserParams = {
0 commit comments