AdMob Rewarded Interstitial¶
Non-Visible componentCategory | Requires | Version |
---|---|---|
Monetization > Advertising | API 21, Android 5.0 Lollipop | 1 |
Overview¶
A component for displaying rewarded interstitial advertisements from Google AdMob. To use this component, you must provide a valid Ads App ID (inside Project settings > Monetization > Google Ads App ID) and Ad Unit ID from your AdMob account. It is recommended to use Test Mode during development to avoid generating invalid ad traffic.
Permissions
Events¶
Ad Clicked¶
Called when the user clicks on the ad.
Ad Dismissed Full Screen Content¶
Called when the rewarded ad is closed, and the user is returned to the app.
Ad Failed To Load¶
Called when a rewarded ad request fails to load. The error code and message provide more details on the failure.
Params | |
---|---|
error Code | Number |
error Message | Text |
Ad Failed To Show Full Screen Content¶
Called when the rewarded ad fails to show in full screen. The error code and message provide more details on the failure.
Params | |
---|---|
error Code | Number |
error Message | Text |
Ad Impression¶
Called when an ad impression has been recorded.
Ad Loaded¶
Called when a rewarded ad has been successfully loaded and is ready to be shown.
Ad Showed Full Screen Content¶
Called when the rewarded ad is displayed on the screen, covering the app's content.
User Earned Reward Events¶
Called when the user has finished watching the ad and should be rewarded. The type
and amount
of the reward are provided.
Params | |
---|---|
type | Text |
amount | Number |
Methods¶
Load Ad¶
Initiates a request to load a new rewarded interstitial ad. This will not do anything if an ad is already loading or if ads are disabled.
Show Ad¶
Shows the loaded rewarded interstitial ad. This will do nothing if the ad has not been loaded yet.
Properties¶
Ad Enabled¶
Boolean Default: True Read Write - Designer Blocks
Specifies whether ads should be enabled. If set to false, no ads will be loaded or shown.
Ad Unit Id¶
Text Read Write - Designer Blocks
Property for AdUnitId
Test Mode¶
Boolean Default: False Write - Designer
If enabled, test ads will be shown. This should be used during development to avoid generating false impressions. Always enabled when in companion.