mirror of
https://github.com/discourse/discourse-adplugin.git
synced 2025-02-18 01:15:00 +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
|
// The boilerplate code
|
||||||
var dfpSrc =
|
var dfpSrc =
|
||||||
("https:" === document.location.protocol ? "https:" : "http:") +
|
("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() {
|
_promise = loadScript(dfpSrc, { scriptTag: true }).then(function() {
|
||||||
_loaded = true;
|
_loaded = true;
|
||||||
if (window.googletag === undefined) {
|
if (window.googletag === undefined) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user