public interface NativeContentAd extends NativeGenericAd
NativeContentAdView
with native ad's content,
installs impression and click handlers.Modifier and Type | Method and Description |
---|---|
void |
bindContentAd(NativeContentAdView contentAdView)
Bind
NativeContentAdView with native ad's content. |
addImageLoadingListener, bindNativeAd, getAdAssets, getAdType, getInfo, loadImages, removeImageLoadingListener, setAdEventListener, shouldOpenLinksInApp
void bindContentAd(@Nullable NativeContentAdView contentAdView) throws NativeAdException
NativeContentAdView
with native ad's content.contentAdView
- An NativeContentAdView
object. If null, does nothing.NativeAdException
- If attempt to bind ad to view without providing view for any of required assets.