java.lang.Object | ||
↳ | com.google.android.gms.ads.mediation.NativeAdMapper | |
↳ | com.google.android.gms.ads.mediation.NativeAppInstallAdMapper |
Mapping class for 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
.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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.
| |||||||||||
Sets the text that encourages the user to take some action with the ad.
| |||||||||||
Sets the app title.
| |||||||||||
Sets the app's icon.
| |||||||||||
Sets a list of images or screenshot of the app.
| |||||||||||
Sets a 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.
| |||||||||||
Sets the name of the app store.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Returns the description of the app.
Returns | |
---|---|
String |
Returns the text that encourages the user to take some action with the ad.
Returns | |
---|---|
String |
Returns the app title.
Returns | |
---|---|
String |
Returns a list of images or screenshot of the app.
Returns | |
---|---|
List<NativeAd.Image> |
Returns a string representing how much the app costs.
Returns | |
---|---|
String |
Returns a star rating from 0 to 5 representing how many stars the app got in the app store.
Returns | |
---|---|
double |
Returns the name of the app store.
Returns | |
---|---|
String |
Sets the description of the app. This is a recommended field.
Parameters | |
---|---|
body |
String :
The description to set
|
Sets the text that encourages the user to take some action with the ad. This is a required field.
Parameters | |
---|---|
callToAction |
String :
The text to set
|
Sets the app title. This is a required field.
Parameters | |
---|---|
headline |
String :
The headline to set
|
Sets the app's icon. This is a required field.
Parameters | |
---|---|
icon |
NativeAd.Image :
The icon to set
|
Sets a list of images or screenshot of the app. This is a recommended field.
Parameters | |
---|---|
images |
List :
The list of images to set
|
Sets a string representing how much the app costs. This is a recommended field.
Parameters | |
---|---|
price |
String :
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.
Parameters | |
---|---|
starRating |
double :
The star rating to set
|
Sets the name of the app store. This is a recommended field.
Parameters | |
---|---|
store |
String :
the name of the app store to set
|