Skip to content

AdMob Rewarded

Non-Visible component
Category Requires Version
Monetization > Advertising API 21, Android 5.0 Lollipop 4

Overview

A component for displaying rewarded video advertisements from Google AdMob. Rewarded ads are full-screen video ads that users have the option of watching in full in exchange for in-app rewards. This component is ideal for monetizing free-to-play users. 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 video 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 video ad. This will not do anything if an ad is already loading or if ads are disabled.

Show Ad

Shows the loaded rewarded video ad. The user will be given a reward after watching the video. 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.