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.
| 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 | |
| final void | |
| final void |
setCallToAction(String
callToAction)
Sets the text that encourages the user to take some action with the ad.
|
| final void | |
| final void | |
| final void |
Returns the text that identifies the advertiser.
Returns the secondary text.
Returns the text that encourages the user to take some action with the ad.
Returns the primary text headline.
Returns a list of images.
Returns a small image identifying the advertiser.
Sets a text that identifies the advertiser. This is a recommended field.
| advertiser | The text to set |
|---|
Sets the secondary text. This is a required field.
| body | The secondary text to set |
|---|
Sets the text that encourages the user to take some action with the ad. This is a recommended field.
| callToAction | The text to set |
|---|
Sets the primary text headline. This is a required field.
| headline | The primary text headline to set |
|---|
Sets a list of images. This is a recommended field.
| images | The list of images to set |
|---|
Sets a small image identifying the advertiser. This is a recommended field.
| logo | The image to set |
|---|