So I’ve almost finished up on my project, with SDK integration being all that remains. I integrated Admob using the graphical SDKBOX tool, and after initializing and caching in AppDelegate, I attempt to display the ad after checking that it ‘isAvailable’.
So far, it has worked only once, and never after that.
I changed the ID to a test ID in sdkbox_config, but no luck. I appreciate any help I can get!
By worked only once, I mean that I actually got it to display the banner ad on my device, but every time I’ve tried after that, it hasn’t worked.
IsAvailable always returns false now, which I don’t understand. I cache the ad in AppDelegate, and then an update continues running until the ad is available, and then it is meant to display.
I didn’t include a Test Device ID, as I read in another thread that it’s deprecated. But how do I find out my device’s ID, just so I can cover all stops.
I’m using correct AdMob test IDs however, and I have enabled the test parameter in the sdkbox_config file.
I have tried caching the ad in the delegate, and also tried caching it in the scene its required in. No luck on either front.
its like 99% that issue is on your side due some wrong setup or step, there is 1000 variations what could gone wrong … so best it to post your code /sample project u using
Did you figure this out? This sounds like what I’m currently dealing with.
isAvailable was true once (with the sample config json, but set to test: true), but hasn’t worked since. Seems like it might be on some sort of timer. I haven’t tried the test phone id either, good to know its deprecated.
When the ad did show for me, it only flashed the test ad on the screen for a moment before returning back to the main game again.
edit: It seems to be roughly every 10 minutes, I get 2-3 ads before they stop being available (with test: true set). You’d think that setting test would let you bypass that timer.
Well, after much tinkering, the only way I was able to solve the problem was to copy my classes to a brand new project, and import only the plugin for Admob alone. It worked after that.
However, despite making no modifications AT ALL since the last time it worked, it doesn’t seem to be working any longer.