Native Ads: ApplovinMax
Integrate native ads (AppLovinMax)
Last updated
Integrate native ads (AppLovinMax)
Last updated
To use Applovin’s native ads you need to do the following:
Native ad assets are required to be encapsulated within a parent view of a specific type MaxNativeAdView
.
The same view must be passed to AATKit via the NativeAdData
method: attachToLayout
.
Assign unique IDs to the native ad assets' Views in the layout file. These IDs will be used in the next integration step.
Bind the subviews using the assigned IDs using an instance of MaxNativeAdViewBinder
. AppLovin does not guarantee a network will return certain assets.
Next, call attachToLayout
when you need to display the ad.
You don’t have to retrieve and bind each asset like or .