我的Admob
帐户最近突然关闭,没有任何警告。所以我正在尝试整合Leadbolt
广告库,但广告没有显示。我只是想在页面底部添加横幅。这是我到目前为止所拥有的:
我的代码Activtiy.onCreate()
super.onCreate(savedInstanceState);
// ... other stuff...
// private AdController ad; (This is defined as a class variablein the activity)
ad = new AdController(this, "my_section_id"); // my_section_id from the leadbolt page where I configured the banner ad.
ad.loadAd();
我的代码Activity.onDestroy()
ad.destroyAd();
super.onDestroy();
配置页面正确显示所有内容:
我也添加了Manifest
文件中的所有权限。根据Doumentation,我找不到任何需要的 xml/layout 添加。
有什么问题?