Last active
June 20, 2024 13:02
-
-
Save FikretHassan/ee10ed1e36d3ace40231a08bdd4d9afd to your computer and use it in GitHub Desktop.
Add this to your creative / creative wrapper to log chrome heavy ad interventions to the console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const observer = new ReportingObserver( | |
(reports, observer) => { | |
console.log('ADTECH: reporting observer results:', JSON.stringify(reports)); | |
}, { | |
buffered: true | |
} | |
); | |
// start watching for interventions | |
observer.observe(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment