0

我的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 添加。

有什么问题?

4

1 回答 1

0

你需要使用

ad.loadStartAd("Audio id", "re-engagement id");
于 2014-05-13T17:02:00.313 回答