java.lang.Object | ||
↳ | com.google.android.gms.ads.formats.NativeAd | |
↳ | com.google.android.gms.ads.formats.NativeAppInstallAd |
A native app install ad.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
NativeAppInstallAd.OnAppInstallAdLoadedListener | An interface defining a callback that is called when a native content ad is loaded. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Destroy the ad object.
| |||||||||||
Returns the description of the app.
| |||||||||||
Returns text that encourages the user to take some action with the ad.
| |||||||||||
Returns a bundle containing any extra assets provided with the native ad.
| |||||||||||
Returns the app title.
| |||||||||||
Returns the app's icon.
| |||||||||||
Returns a list of large promotional images or screenshots 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.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Destroy the ad object. No other methods should be called on the ad object after
destroy()
is called.
Returns the description of the app. This is a recommended field.
Returns text that encourages the user to take some action with the ad. This is a required field.
Returns a bundle containing any extra assets provided with the native ad. If a mediation
partner's ads have assets beyond the standard ones (price, store, etc.), they can be set
using the setExtras method in
NativeAppInstallAdMapper
, and can be
retrieved via this method. For non-mediation flow, it returns an empty bundle.
Returns a list of large promotional images or screenshots of the app. This is a recommended field.
Returns a string representing how much the app costs. This is a recommended field.
Returns a star rating from 0 to 5 representing how many stars the app got in the app store. This is a recommended field.
Returns the name of the app store. For example, "Google Play". This is a recommended field.