Display native ad on Apple
Last updated
Last updated
The types of views that can be configured in a native ad are as follows:
Icon
Advertiser
Headline
Body
Media
Call to action
For example, when configuring a social feed ad, you can lay it out as follows:
AdContainerView - superview (AdropNativeAdView)
β Icon (UIImageView)
β Advertiser (UILabel)
β Media (UIView)
β Body (UILabel)
Please make sure the superview is declared as AdropNativeAdView. You can modify this in the Custom Class section of the Identity Inspector.
Here is an example that connects the subviews of AdropNativeAdView and then populates the AdropNativeAd.