为什么广告在我的开发盒上停止呈现?

发布于 2024-08-21 15:39:04 字数 396 浏览 12 评论 0原文

我有来自几个流行广告网络(AdSense、AdBrite 等)的广告代码(即 JavaScript),我喜欢在将它们添加到我的网站之前对其进行测试(基本上确保它们正确呈现)。我将标签添加到页面,并最终在我的开发盒上多次加载该页面。

我注意到在我的开发盒上进行几次刷新后,广告停止呈现。如果我等待一个小时左右,广告就会再次出现。我对此行为有一个猜测,请告诉我这是否正确:

  • AdBrite 等广告网络有时会提供 CPM 广告资源。广告商根据展示次数付费。
  • 因此,为了防止不良印象(比如我在开发盒上刷新 :D),他们限制了我获得的展示次数,可能基于我的 IP 和引用 URL

后续问题:处理广告代码的开发人员如何测试他们的渲染?如果广告在几次刷新后停止呈现,那会非常烦人。

I have ad tags (i.e. JavaScript) from several popular ad networks (AdSense, AdBrite, etc.) and I like to test them (basically make sure they render correctly) before adding them to my websites. I add the tag to a page, and end up loading the page several times on my dev box.

I noticed that after several refreshes on my dev box, the ads stop rendering. If I wait an hour or so, the ads start appearing again. I have a guess about this behavior, please let me know if this is correct:

  • Ad networks like AdBrite sometimes serve CPM ad inventory. The advertiser is billed for the number of impressions
  • So, to prevent bad impressions (like me refreshing on my dev box :D), they cap the number of impressions I get, probably based on my IP and referring URL

A follow-up question: how do devs who deal with ad tags test their rendering? It gets really annoying if the ads stop rendering after a few refreshes.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我纯我任性 2024-08-28 15:39:04

所以,为了防止留下不好的印象(比如
我在我的开发盒上刷新:D),他们
限制我获得的展示次数,
可能基于我的IP和参考
网址

我想你已经在这里回答了你的问题。你知道为什么:)

处理广告代码的开发人员如何测试
他们的渲染?真的变得
如果广告停止呈现会很烦人
几次刷新后。

根据我的经验,大多数广告都能正确呈现,因此从来没有过需要正确检查它的经历。但为什么需要多次刷新呢?尝试根据需要进行尽可能多的更改,然后刷新。

另一种选择是使用 firebug 等工具,您可以在其中编辑渲染的 html 并使用它。一旦获得正确的设计,您就可以更改原始文件。

So, to prevent bad impressions (like
me refreshing on my dev box :D), they
cap the number of impressions I get,
probably based on my IP and referring
URL

I think you have answered your question yourself here. You know why :)

how do devs who deal with ad tags test
their rendering? It gets really
annoying if the ads stop rendering
after a few refreshes.

In my experience most of the ads render properly so never had an experience where I had to check it properly. But why do you need to refresh it multiple times? Try to do as many changes as you want and then refresh.

Another option is to use tools like firebug where you can edit the html rendered and play with it. Once you get a proper design you can change your original file.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文