mirror of
https://github.com/discourse/discourse-adplugin.git
synced 2025-07-06 21:32:13 +00:00
Load Google Ad Manager code from doubleclick.net
https://support.google.com/admanager/answer/1638622?hl=en
This commit is contained in:
parent
bec86bd59a
commit
cd82a905ae
@ -213,7 +213,7 @@ function loadGoogle() {
|
||||
// The boilerplate code
|
||||
var dfpSrc =
|
||||
("https:" === document.location.protocol ? "https:" : "http:") +
|
||||
"//www.googletagservices.com/tag/js/gpt.js";
|
||||
"//securepubads.g.doubleclick.net/tag/js/gpt.js";
|
||||
_promise = loadScript(dfpSrc, { scriptTag: true }).then(function() {
|
||||
_loaded = true;
|
||||
if (window.googletag === undefined) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user