iphone site 如何添加 admob 广告

2010-12-21 00:36:38 +08:00
 imsein
RT,admob 给的代码是:

<script type="text/javascript">
var admob_vars = {
pubid: 'xxxxxx', // publisher id
bgcolor: '000000', // background color (hex)
text: 'FFFFFF', // font-color (hex)
ama: false, // set to true and retain comma for the AdMob Adaptive Ad Unit, a special ad type designed for PC sites accessed from the iPhone. More info: http://developer.admob.com/wiki/IPhone#Web_Integration
test: true // test mode, set to false to receive live ads
};
</script>
<script type="text/javascript" src="http://mmv.admob.com/static/iphone/iadmob.js"></script>

加上去是显示测试广告。按提示把 test: true 改为 test: false 以后,却是什么都没有啊
8079 次点击
所在节点    iPhone
2 条回复
Livid
2010-12-21 01:05:54 +08:00
嗯 似乎需要等待一段时间。

话说 AdSense 也有专门的 iPhone 版本的,不需要等。
imsein
2010-12-21 01:21:20 +08:00
嗯,等等看

adsense 移动版界面难看,即使设置白色背景还是蓝框灰底

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/6107

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX