AppLovin Max Native¶
| 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¶
A layout component for showing AppLovin MAX native ads. Native ads use the app's own UI elements (Labels, Buttons, Images) so they blend naturally with your content. The ad unit must be of type "Manual" in the AppLovin MAX dashboard.
Permissions
Kodular Monetize
This component requires Kodular Monetize to be activated. See my.kodular.io/monetize and the Monetize rates.
Events¶
Ad Clicked¶
Called when the user clicks on the native ad.
Failed To Load¶
Called when a native ad fails to load.
| Param | Type |
|---|---|
| error Message | Text |
Loaded¶
Called when a native ad has been loaded successfully.
Methods¶
Load¶
Initiates a request to load a new native ad. Does nothing if ads are disabled or a load is already in progress.
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
Sets the MAX ad unit ID for native ads. The ad unit must be of type "Manual" in the AppLovin MAX dashboard.
Body Label¶
Component Write - Designer Blocks
The label component for the ad body text.
Call To Action Button¶
Component Write - Designer Blocks
The button component for the ad call-to-action.
Headline Label¶
Component Write - Designer Blocks
The label component for the ad headline (required).
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.
Icon Image¶
Component Write - Designer Blocks
The image component for the ad icon.
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.