V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
imsein
V2EX  ›  iPhone

iphone site 如何添加 admob 广告

  •  
  •   imsein · Dec 21, 2010 · 16533 views
    This topic created in 5610 days ago, the information mentioned may be changed or developed.
    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 replies    1970-01-01 08:00:00 +08:00
    Livid
        1
    Livid  
    MOD
    PRO
       Dec 21, 2010
    嗯 似乎需要等待一段时间。

    话说 AdSense 也有专门的 iPhone 版本的,不需要等。
    imsein
        2
    imsein  
    OP
       Dec 21, 2010 via iPod
    嗯,等等看

    adsense 移动版界面难看,即使设置白色背景还是蓝框灰底
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2703 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 53ms · UTC 14:30 · PVG 22:30 · LAX 07:30 · JFK 10:30
    ♥ Do have faith in what you're doing.