I only have “admob.load” once. It’s in the listener for admob.init:
if ( event.phase == "init" ) then - admob.load("interstitial" .... ... end
That’s the one and only place i had it.
So I tried just now to add admob.load(…params…) right before
if ( admob.isLoaded( "interstitial" ) ) admob.show( "interstitial" )
but I’m not getting any ads now!
Not sure if it’s helful but here’s a bit of console output. The “not loaded” is from a print statement I added showing that admob.isLoaded is false. “Inside showanad” in another print statment I added.
Aug 20 04:16:14.743 XT1032: inside showanad
Aug 20 04:16:14.743 XT1032:
Aug 20 04:16:14.744 plugin.admob: Test mode active for device ‘C936582D06E66C0D1D3C68DC8610E229’
Aug 20 04:16:14.872 XT1032: not
Aug 20 04:16:14.873 loaded
Aug 20 04:16:14.893 XT1032:
Aug 20 04:16:14.893 getRunningAppProcesses: caller 10069 does not hold REAL_GET_TASKS; limiting output
Aug 20 04:16:14.903 XT1032: get
Aug 20 04:16:14.904 RunningAppProcesses: caller 10122 does not hold REAL_GET_TASKS; limiting output
Aug 20 04:16:14.907 XT1032: getRunni
Aug 20 04:16:14.907 ngAppProcesses: caller 10069 does not hold REAL_GET_TASKS; limiting output
Aug 20 04:16:16.646 XT1032: {
XT1032: “data”:"{“adUnitId”:“XXXXXXXXXX”}",
XT1032: “name”:“adsRequest”,
XT1032: “phase”:“loaded”,
Aug 20 04:16:16.647 XT1032: “provider”:“admob”,
XT1032: “type”:“interstitial”,
XT1032: “isError”:false
XT1032: }
Aug 20 04:16:37.573 XT1032: in
Aug 20 04:16:37.573 side showanad
XT1032: plugin.admob: Test mode active for device ‘C936582D06E66C0D1D3C68DC8610E229’
Aug 20 04:16:37.607 XT1032: getRu
Aug 20 04:16:37.607 nningAppProcesses: caller 10122 does not hold REAL_GET_TASKS; limiting output
Aug 20 04:16:37.618 XT1032: not loa
Aug 20 04:16:37.618 ded