V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
imsein
V2EX  ›  iPhone

iphone site 如何添加 admob 广告

  •  
  •   imsein · 2010-12-21 00:36:38 +08:00 · 7817 次点击
    这是一个创建于 4868 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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 以后,却是什么都没有啊
    2 条回复    1970-01-01 08:00:00 +08:00
    Livid
        1
    Livid  
    MOD
       2010-12-21 01:05:54 +08:00
    嗯 似乎需要等待一段时间。

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

    adsense 移动版界面难看,即使设置白色背景还是蓝框灰底
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5249 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 08:32 · PVG 16:32 · LAX 01:32 · JFK 04:32
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.