简体   繁体   English

google adsense 的广告展示位置如何运作?

[英]How google adsense's ad placement works?

How google adsense determines where to place ads? google adsense 如何确定放置广告的位置? What's the logic behind placing ads on the dynamic DOM elements?在动态 DOM 元素上放置广告背后的逻辑是什么? The header and footer DOM element can be identified.可以识别页眉和页脚 DOM 元素。 How about ads in between content or posts.内容或帖子之间的广告怎么样。

Google Adsense doesn't determine where to display the ads, you have to insert an adsense code snippet that positions the ad where you want it to display in your page/code. Google Adsense 不决定在何处展示广告,您必须插入一个 Adsense 代码段,将广告定位在您希望它在页面/代码中显示的位置。 For ads within an article, like inside of a wordpress loop, you have to use javascript (a wp plugin etc.) to inject the ad code in the DOM where you want it to show up.对于文章中的广告,例如 wordpress 循环内的广告,您必须使用 javascript(一个 wp 插件等)将广告代码注入 DOM 中您希望它显示的位置。 Usually you can decide that the ad will display X paragraphs down in the article.通常,您可以决定广告将在文章中向下显示 X 个段落。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM