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 bb232d2 commit a7210d4Copy full SHA for a7210d4
app/components/GoogleScripts.tsx
@@ -75,13 +75,13 @@ function Gad({
75
window.googletag.display(adId)
76
77
// Set individual refresh intervals for each ad
78
- const interval = setInterval(function () {
79
- window.googletag.cmd.push(function () {
80
- window.googletag.pubads().refresh([slot])
81
- })
82
- }, slot.refreshInterval)
+ // const interval = setInterval(function () {
+ // window.googletag.cmd.push(function () {
+ // window.googletag.pubads().refresh([slot])
+ // })
+ //}, slot.refreshInterval)
83
84
- return () => clearInterval(interval)
+ //return () => clearInterval(interval)
85
})
86
}
87
}, [])
0 commit comments