-
Notifications
You must be signed in to change notification settings - Fork 4
Home
- Initialize the Google Mobile Ads SDK
- Show banner, interstitial, rewarded video, rewarded interstitial, and app open ads
- Request and read the user's consent status (GDPR/CCPA) via Google's User Messaging Platform
- Target ads by COPPA/under-age/max content rating
- Track ad revenue via a shared paid-event stream
- Configure server-side reward verification and app-wide ad volume
This extension wraps Google's Mobile Ads SDK for Android
and iOS. Call admob_initialize once, before any other function (other than the
targeting functions and admob_set_test_device_id, which must be called before
initialization). Every function that talks to Google's servers reports its outcome asynchronously
through a callback carrying a AdMobResult - check result.success before trusting the
rest of the payload.
Interstitial, rewarded video, and rewarded interstitial ads share the same load/show shape: loading produces a handle you hold onto, then showing consumes that handle. Multiple ads can be pre-loaded at once by holding several handles. Banner and app open ads work differently - there is only ever one instance of each, so no handles are involved.
Guides for the AdMob extension.
The following are the available modules for the AdMob extension:
- General
- Banner
- Interstitial
- Rewarded Video
- Rewarded Interstitial
- App Open Ads
- Targeting
- Consent
- Settings
YoYoGames 2026