This class is deprecated.
Use UnifiedNativeAdMapper.
Mapping class for Google AdMob native app install ads.
Mediation adapters that load a native app install ad must extend this class to provide a
mapping from the mediated ad network's native ad object to NativeAppInstallAd.
| final String |
getBody()
Returns the description of the app.
|
| final String |
getCallToAction()
Returns the text that encourages the user to take some action with the ad.
|
| final String |
getHeadline()
Returns the app title.
|
| final NativeAd.Image |
getIcon()
Returns the app's icon.
|
| final List<NativeAd.Image> |
getImages()
Returns a list of images or screenshot of the app.
|
| final String |
getPrice()
Returns a string representing how much the app costs.
|
| final double |
getStarRating()
Returns a star rating from 0 to 5 representing how many stars the app got in
the app store.
|
| final String |
getStore()
Returns the name of the app store.
|
| 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 | |
| final void | |
| final void |
setStarRating(double starRating)
Sets a star rating from 0 to 5 representing how many stars the app got in the
app store.
|
| final void |
Returns the description of the app.
Returns the text that encourages the user to take some action with the ad.
Returns the app title.
Returns the app's icon.
Returns a list of images or screenshot of the app.
Returns a string representing how much the app costs.
Returns a star rating from 0 to 5 representing how many stars the app got in the app store.
Returns the name of the app store.
Sets the description of the app. This is a recommended field.
| body | The description to set |
|---|
Sets the text that encourages the user to take some action with the ad. This is a required field.
| callToAction | The text to set |
|---|
Sets the app title. This is a required field.
| headline | The headline to set |
|---|
Sets the app's icon. This is a required field.
| icon | The icon to set |
|---|
Sets a list of images or screenshot of the app. This is a recommended field.
| images | The list of images to set |
|---|
Sets a string representing how much the app costs. This is a recommended field.
| price | The string representing how much the app costs. |
|---|
Sets a star rating from 0 to 5 representing how many stars the app got in the app store. This is a recommended field.
| starRating | The star rating to set |
|---|
Sets the name of the app store. This is a recommended field.
| store | the name of the app store to set |
|---|