My site is using PHP to pull content from a database. I am running a Google Adsense ad alongside this content.
我的网站使用PHP从数据库中提取内容。我正在与此内容一起投放Google Adsense广告。
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.
我第一次从数据库中提取数据时,Adsense似乎无法识别内容的主题并显示非常通用的无关广告。
Any ideas on how I can get Adsense to recognize the subject of the content?
关于如何让Adsense识别内容主题的任何想法?
Thanks,
John
5 个解决方案
#1
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.
Adsense不能以任何方式区分PHP生成的内容和静态内容。生成的HTML可能存在问题,但听起来不太可能 - 我的猜测是,Adsense要么需要更多时间来抓取您的网站并获得一些好的通用关键字,要么无法识别/广告相对较少提供有关内容的主题。
#2
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.
请注意,为了让Google提供相关的广告,它必须能够检索该页面的副本,对其进行分析并确定哪些广告是合适的。
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:
所有Google都可以访问的是URL。如果用户必须提交表单以访问页面(听起来就像你正在做的那样),并且表单信息被POST到服务器,那么它只有脚本名称,例如:
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.
考虑更改要在查询字符串中传递的提交参数,因为Google将能够请求相同的页面并执行分析。例如
#3
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.
adsense需要一段时间才能对您的网页进行分类,您可能会在一段时间内获得公益广告等等。我不担心,给它几天。
#4
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.
如果您能看到广告,那么您已经解决了所有编程问题。除了等待Google发挥其魔力之外别无他法。
If you're using a PHP/MySQL based CMS Google will be able to find your stuff just fine.
如果您使用基于PHP / MySQL的CMS,谷歌将能够很好地找到您的东西。
#5
The cycle works like this:
循环的工作原理如下:
- A user requests a page adsense has never been used on before (e.g. /mynewpage.html)
- Adsense isn't familiar with the URL, so it returns a placeholder ad, and queues the page to be crawled
- Generally, within minutes of the user requesting the page, the adsense crawler requests the page itself (you can see this in your access logs) and analyzes it
- At some point, adsense starts returning appropriate advertising for the page in question
用户请求以前从未使用的页面adsense(例如/mynewpage.html)
Adsense不熟悉该网址,因此会返回占位符广告,并对要抓取的网页进行排队
通常,在用户请求页面的几分钟内,adsense抓取工具会请求页面本身(您可以在访问日志中看到此信息)并对其进行分析
在某些时候,adsense开始为相关页面返回适当的广告
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.
这不是一个瞬间的过程。 adsense无法立即为之前从未听过的网页返回“相关”广告。
#1
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.
Adsense不能以任何方式区分PHP生成的内容和静态内容。生成的HTML可能存在问题,但听起来不太可能 - 我的猜测是,Adsense要么需要更多时间来抓取您的网站并获得一些好的通用关键字,要么无法识别/广告相对较少提供有关内容的主题。
#2
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.
请注意,为了让Google提供相关的广告,它必须能够检索该页面的副本,对其进行分析并确定哪些广告是合适的。
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:
所有Google都可以访问的是URL。如果用户必须提交表单以访问页面(听起来就像你正在做的那样),并且表单信息被POST到服务器,那么它只有脚本名称,例如:
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.
考虑更改要在查询字符串中传递的提交参数,因为Google将能够请求相同的页面并执行分析。例如
#3
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.
adsense需要一段时间才能对您的网页进行分类,您可能会在一段时间内获得公益广告等等。我不担心,给它几天。
#4
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.
如果您能看到广告,那么您已经解决了所有编程问题。除了等待Google发挥其魔力之外别无他法。
If you're using a PHP/MySQL based CMS Google will be able to find your stuff just fine.
如果您使用基于PHP / MySQL的CMS,谷歌将能够很好地找到您的东西。
#5
The cycle works like this:
循环的工作原理如下:
- A user requests a page adsense has never been used on before (e.g. /mynewpage.html)
- Adsense isn't familiar with the URL, so it returns a placeholder ad, and queues the page to be crawled
- Generally, within minutes of the user requesting the page, the adsense crawler requests the page itself (you can see this in your access logs) and analyzes it
- At some point, adsense starts returning appropriate advertising for the page in question
用户请求以前从未使用的页面adsense(例如/mynewpage.html)
Adsense不熟悉该网址,因此会返回占位符广告,并对要抓取的网页进行排队
通常,在用户请求页面的几分钟内,adsense抓取工具会请求页面本身(您可以在访问日志中看到此信息)并对其进行分析
在某些时候,adsense开始为相关页面返回适当的广告
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.
这不是一个瞬间的过程。 adsense无法立即为之前从未听过的网页返回“相关”广告。