Ir para o console

NativeContentAdMapper

public abstract class NativeContentAdMapper extends NativeAdMapper

This class is deprecated.
Use UnifiedNativeAdMapper.

Mapping class for Google AdMob native content ads.

Mediation adapters that load a native content ad must extend this class to provide a mapping from the mediated ad network's native ad object to NativeContentAd.

Inherited Field Summary

Public Constructor Summary

Public Method Summary

final String
getAdvertiser()
Returns the text that identifies the advertiser.
final String
getBody()
Returns the secondary text.
final String
getCallToAction()
Returns the text that encourages the user to take some action with the ad.
final String
getHeadline()
Returns the primary text headline.
final List<NativeAd.Image>
getImages()
Returns a list of images.
final NativeAd.Image
getLogo()
Returns a small image identifying the advertiser.
final void
setAdvertiser(String advertiser)
Sets a text that identifies the advertiser.
final void
setBody(String body)
Sets the secondary text.
final void
setCallToAction(String callToAction)
Sets the text that encourages the user to take some action with the ad.
final void
setHeadline(String headline)
Sets the primary text headline.
final void
setImages(List<NativeAd.Image> images)
Sets a list of images.
final void
setLogo(NativeAd.Image logo)
Sets a small image identifying the advertiser.

Inherited Method Summary