How to add admob ads?

how can i add admob ads to my mobile (android/ios) game?

You can’t. We currently do not support third-party SDKs except those already integrated in the engine. We will release an extension system this year and with that it is possible for developers to integrate many different kinds of SDKs and probably also AdMob. When it comes to ads you are currently able to show ads using a webview from ad providers with Javascript SDKs: https://github.com/britzl/defads

1 Like

Thanks for the reply

Do you have any tutorial of how to integrate admob by webview in defold ?

See me previous reply. You cannot use Admob in Defold. Admob does as far as I can tell only provide native iOS and Android SDKs. You need a Javascript SDK to be able to show ads in a webview.

1 Like

I wonder if Adsense for content / page-level vignette ads would work.

https://support.google.com/adsense/answer/17470?hl=en&visit_id=1-636097369795181991-2997586644&rd=1

https://support.google.com/adxseller/answer/6068103?hl=en

1 Like

Yes, Adsense ads worked fairly well. I added them to my DefAds project a while back: https://github.com/britzl/defads/tree/master/defads/adsense

4 Likes