Right now I'm just trying to show a full screen ad when the app starts, just to see how it looks, but I can't get anything to show.
I signed up for AdMob yesterday, added my unpublished app and an interstitial ad unit for it.
Here's what runs at the start:
SetAdMobTesting(1)
OverrideConsentAdMob(1) // non-personalized.
SetAdMobDetails(ADMOB_ADUNITID) // This is a constant of my ad unit id.
RequestAdvertRefresh()
value as integer
value = GetFullscreenAdvertLoadedAdMob()
repeat
Print(value)
Sync()
value = GetFullscreenAdvertLoadedAdMob()
until value = 1
ShowFullscreenAdvertAdMob()
But GetFullscreenAdvertLoadedAdMob is always 0.
I've exported the APK with Write External Storage, Internet/Network, and Wake Lock permissions set. Are others needed?
My app orientation is Landscape. Would that affect it?
I've set my AdMob App ID on the export screen. Minimum Android version is set to 4.1.
When I install the APK manually, it says it has no special permissions, which doesn't seem right.
I'm compiling with AppGameKit Classic 2019.08.01.
I've gone through similar looking topics on the forum, but nothing seems to help.
Any help would be appreciated!
EDIT: Looks like I didn't have my Payment profile set up. I'll have to wait and see if that was the problem.
EDIT 2: That wasn't it. Neither AdMob nor Chartboost work via APK, but Chartboost works when broadcasting.