Skip to content

Instantly share code, notes, and snippets.

@patrick-mcdougle
Last active May 23, 2017 02:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patrick-mcdougle/6cf103eda6b8fc760d17e0b6352d9325 to your computer and use it in GitHub Desktop.
Save patrick-mcdougle/6cf103eda6b8fc760d17e0b6352d9325 to your computer and use it in GitHub Desktop.
PBJS Proposed Change
...
function r(e, o) {
pbjs.initAdserverSet = !0,
pbjs.requestBids({
adUnits: d(e),
bidsBackHandler: function() {
googletag.cmd.push(function() {
pbjs.setTargetingForGPTAsync(),
if (typeof o !== 'undefined') {
window.googletag.pubads().refresh(p(e), o)
}
else {
window.googletag.pubads().refresh(p(e))
}
})
}
})
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment