Adsense 似乎无法识别 PHP 生成的内容
我的网站使用 PHP 从数据库中提取内容。 我正在与此内容一起投放 Google Adsense 广告。
当我第一次从数据库中提取数据时,Adsense 似乎无法识别内容的主题,并显示一个非常通用的、不相关的广告。
关于如何让 Adsense 识别内容主题有什么想法吗?
谢谢,
约翰
My site is using PHP to pull content from a database. I am running a Google Adsense ad alongside this content.
The first time I pull data from the database, Adsense doesn't appear to recognize the subject of the content and displays a very generic, unrelated ad.
Any ideas on how I can get Adsense to recognize the subject of the content?
Thanks,
John
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
给它更多时间。
Adsense 无法以任何方式区分 PHP 生成的内容和静态内容。 生成的 HTML 中可能存在问题,但听起来不太可能 - 我的猜测是 Adsense 要么需要更多时间来抓取您的网站并获得一些好的通用关键字来使用,要么它无法识别/广告相对较少提供有关内容的主题。
Give it more time.
Adsense can not in any way tell the difference between PHP-generated and static content. There may be an issue in the generated HTML, but it sounds unlikely - my guess would be that Adsense either needs more time to spider your site and get some good general keywords to use, or that it can't identify/has relatively few ads to offer on the subject of the content.
请记住,为了让 Google 提供相关广告,它必须能够检索页面的副本,对其进行分析,并确定哪些广告合适。
Google 只能访问 URL。 如果用户必须提交表单才能访问页面(这听起来像是您正在做的事情),并且表单信息被 POST 到服务器,那么它只有脚本名称,例如:
考虑将提交的参数更改为传入查询字符串,这样 Google 将能够请求同一页面并执行分析。 例如
Remember that in order for Google to provide relevant adverts, it has to be able to retrieve a copy of the page, analyse it, and determine which ads would be appropriate.
All Google has access to is the URL. If the user has to submit a form to get to a page (which it sounds like is what you are doing), and the form information is POSTed to the server, then it only has the script name, for example:
Consider changing the submitted parameters to be passed in the query string, as then Google will be able to request the same page and perform the analysis. e.g.
adsense 需要一段时间才能对您的页面进行分类,您可能会在一段时间内收到公益广告等内容,直到它分类为止。 我不会担心的,等几天吧。
It takes a while for adsense to classify your page, you'll probably get public service ads and the like for a while until it does. I wouldn't worry about it, give it a couple of days.
如果您能看到广告,那么您就已经解决了所有编程问题。 除了等待谷歌发挥其魔力之外,别无他法。
如果您使用基于 PHP/MySQL 的 CMS,Google 将能够很好地找到您的内容。
You've already solved all of your programming issues if you can see the ads. There's nothing left to do except wait for Google to do its magic.
If you're using a PHP/MySQL based CMS Google will be able to find your stuff just fine.
这个循环的工作原理是这样的:
。这不是一个瞬时过程。 Adsense 无法立即为以前从未听说过的页面返回“相关”广告。
The cycle works like this:
It's not an instantaneous process. There is no way for adsense to instantly return "relevant" ads for pages it's never heard of before.