Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (android)
Viewing all articles
Browse latest Browse all 7655

Damn you Admob! Admob not displaying on Android but fine on iOS

$
0
0

Okay, so i have been battling with Admob for the last 6 hours and it works beautifully on iOS but on Android a have had a load of issues, All the code now works and it retrieves the advert but it doesn't display anything despite adding a bg colour the view is hidden. I can see in the console that the ad is received just not shown. Any ideas?

var Admob = require('ti.admob');
 
var adMobView = Admob.createView({
    publisherId: admob_id,
    testing:true,
    top: 150,
    adBackgroundColor:"FF8855",
    backgroundColor: "738000"
});
 
win.add(adMobView);

Viewing all articles
Browse latest Browse all 7655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>