Native Ads: Huawei
Integrate native ads (Huawei)
NativeView
Native ad assets of Huawei SDK are required to be encapsulated within a parent view of a specific type
com.huawei.hms.ads.nativead.NativeView
.The same view must be passed to AATKit via the
NativeAdData
method:attachToLayout
.
Also, Huawei displays the native ad main image using an instance of com.huawei.hms.ads.nativead.MediaView
.
Bind Huawei Native Ad Assets
After getting a native ad from the NativeAdPlacement
, you can follow this code example to bind the native ad assets:
Last updated