我正在尝试在网页中加入广告,如下所示:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>test</title>
</head>
<body>
<div style="width: 400px; height: 100px; ">
<script type="text/javascript">
var admob_vars = {
pubid: 'a150bdd0d7d7f00', // publisher id
bgcolor: '000000', // background color (hex)
text: 'FFFFFF', // font-color (hex)
test: false // test mode, set to false if non-test mode
};
</script>
<script type="text/javascript" src="http://mmv.admob.com/static/iphone/iadmob.js"></script>
</div>
</body>
</html>但我看不到广告,也没有看到错误,甚至javascript错误。有什么想法吗?
发布于 2012-12-17 19:59:14
它工作得很好,如果你使用类似这样的东西:
console.log(_admob.vars_cache) 在您的浏览器中,您将看到这一点。:)
https://stackoverflow.com/questions/13913670
复制相似问题