Can someone please explain how to test AdMob ads?

I’ve been trying to test AdMob ads on my game for a while now, and I can’t get anything to display. I’ve searched Google and this forum, and most of what I’ve found is from 2015. Some say to put “test” in the AdMob settings.

image

Some say to use one of AdMob’s dummy IDs.

image

I’ve tried both of these with no luck.

In my events, I’ve tried loading the ad when the game screen loads. I’ve enabled test mode, preloaded the ad, and then set the ad to display using the test IDs GDevelop says to use.

Nothing displays when the page loads.

I give up. Can someone please tell me what I’m doing wrong?

So, I’ve made some progress. I had been confusing the app ID with the ad ID. I now have my AdMob app ID in the game properties, and I have the test ad ID in the event.

Unfortunately, the test ad still isn’t showing. Any thoughts?

Jeez, I just found the problem.

Found it in a GDevelop AdMob example here.

So, if you’re new to this, and you’re trying to test your ads, note that you can’t do it in the preview. You must export the game and test there.

1 Like