0

我有一个 AdSense 广告嵌入到生成的页面http://mostpopnews.appspot.com/(在最右边的列/空白处)(连同 GAE 中使用的 Python 代码的其余 html)。大约 4自从我创建广告脚本并将广告脚本嵌入网站以来的几天,但广告状态没有从“新”变为“活动”。我不知道为什么会这样,因为我有其他博客很快就会转换为活动. 可能是因为该网站还没有被编入索引?我的主要假设是用于编写 AdSense 脚本的 Python 代码将我看不到的 HTML 格式搞砸了。任何想法/

编写 adsense 脚本的 Python 代码:

MAIN_PAGE_HTML = MAIN_PAGE_HTML + '''
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9089661734099673";
/* Top News */
google_ad_slot = "3468761149";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
'''

网页源代码显示:

<script type="text/javascript"><!--
google_ad_client = "ca-pub-9089661734099673";
/* Top News */
google_ad_slot = "3468761149";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
4

0 回答 0