2014-03-29 158 views
0

我的Admob帳戶最近突然關閉,沒有任何警告。所以我正在嘗試整合Leadbolt廣告庫,但廣告未顯示。我只是試圖在頁面底部添加橫幅。以下是我迄今爲止:Leadbolt sdk橫幅廣告未顯示

代碼在我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(); 

配置頁顯示一切正常:

enter image description here

我已經添加了全部Manifest文件中的權限也是如此。根據Doumentation,我找不到任何需要的xml/layout添加。

什麼可能是錯的?

回答

0

您需要使用

ad.loadStartAd("Audio id", "re-engagement id");