How to fix this Google Ad Manager error: gpt.js was requested from both the standard and limited ads domains within the same page

huangapple go评论59阅读模式
英文:

How to fix this Google Ad Manager error: gpt.js was requested from both the standard and limited ads domains within the same page

问题

合作伙伴正在使用我们的Google标签从Google广告管理器(GAM)中,突然之间停止工作了。我在?google_console中的错误是:

警告:
尝试从标准和有限广告域加载GPT。
问题:在同一页面中从标准和有限广告域请求了gpt.js。

这些标签在我的测试页面上运行正常,所以我怀疑合作伙伴的页面上可能正在调用另一个Google标签的实例。但总的来说,网站可以与多个广告网络一起工作,这些网络也可能使用Google标签,所以这不应该是个问题,有任何想法吗?

英文:

A partner of us is using our Google tags from Google Ad Manager (GAM) and suddently it stopped working. The error I have in the ?google_console is:

Warning:
Attempted to load GPT from both standard and limited ads domains.
Issue: gpt.js was requested from both the standard and limited ads domains within the same page.

The tags work fine on my test page, so I'm suspected that another instance of Google tags is being called on the partner's page. But in general, websites work with multiple ad network that may also use Google tags, so it shouldn't be a problem, thoughts anyone?

答案1

得分: 1

标准的GPT库从以下地址加载:

https://securepubads.g.doubleclick.net/tag/js/gpt.js

有限广告的库从以下地址加载:

https://pagead2.googlesyndication.com/tag/js/gpt.js

如果您的合作伙伴在同一页面上同时加载这两个库,这将导致不同的问题并出现上述提到的消息。看起来您的合作伙伴打算在用户未提供同意的情况下加载有限广告库(但库总是加载),因为这是一个无cookie域,通常用作备用。

英文:

The standard GPT library is loaded from:

https://securepubads.g.doubleclick.net/tag/js/gpt.js

The library for limited ads is loaded from:

https://pagead2.googlesyndication.com/tag/js/gpt.js

If your partner is loading both on the same page, this will cause different issues and lead to the mentioned message. It looks like your partner aims to load the limited ads library in case the user does not provide consent (but instead the library loads always), because this is a cookie-less domain which is often used as a fallback.

huangapple
  • 本文由 发表于 2023年7月6日 14:09:35
  • 转载请务必保留本文链接:https://go.coder-hub.com/76625956.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定