Load Google Ad Manager code from doubleclick.net

diff --git a/assets/javascripts/discourse/components/google-dfp-ad.js.es6 b/assets/javascripts/discourse/components/google-dfp-ad.js.es6
index 1010ca0..7373f85 100755
--- a/assets/javascripts/discourse/components/google-dfp-ad.js.es6
+++ b/assets/javascripts/discourse/components/google-dfp-ad.js.es6
@@ -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) {

GitHub sha: cd82a905

1 Like