AppLovin Max MREC¶
| Category | Requires | Version |
|---|---|---|
| Monetization > Advertising | API 24, Android 7.0 Nougat | 1 |
This component requires a higher Minimum Android SDK in your app (API 21, Android 5.0 Lollipop -> API 24, Android 7.0 Nougat)
Overview¶
Shows AppLovin MAX MREC (300x250) ads. Requires an AppLovin SDK key in the project settings and a MAX MREC ad unit ID.
Permissions
Kodular Monetize
This component requires Kodular Monetize to be activated. See my.kodular.io/monetize and the Monetize rates.
Events¶
Ad Clicked¶
Event raised when an ad was clicked.
Ad Collapsed¶
Event raised when the ad collapsed back from fullscreen.
Ad Expanded¶
Event raised when the ad expanded to fullscreen.
Failed To Load¶
Event raised when an ad could not be loaded.
| Param | Type |
|---|---|
| error Message | Text |
Loaded¶
Event raised when an ad was loaded successfully.
Methods¶
Load¶
Loads an MREC ad.
StartAutoRefresh¶
Resumes auto-refresh of the MREC.
StopAutoRefresh¶
Pauses auto-refresh of the MREC.
Properties¶
Ad Unit Id¶
Text Read Write - Designer Blocks
Sets the MAX ad unit ID for MREC ads.
Height¶
Number Read Write - Blocks
Specifies the component's vertical height, measured in pixels.
Height Percent¶
Number Write - Blocks
Specifies the component's vertical height as a percentageof the height of its parent Component.
Test Mode¶
Boolean Default: False Write - Designer
If enabled, the ad is treated as a test ad. Always enabled in companion. MAX test ads are configured through the MAX dashboard.
Visible¶
Boolean Default: True Read Write - Designer Blocks
Returns true iff the component is visible.
Width¶
Number Read Write - Blocks
Specifies the component's horizontal width, measured in pixels.
Width Percent¶
Number Write - Blocks
Specifies the component's horizontal width as a percentageof the Width of its parent Component.