loadAd
Loads an ad using the current ad call listener.
You cannot call loadAd()
after cancel. To reuse it, call
loadAd()
only without cancel.
If you call loadAd()
multiple times, the following steps occur before handling the new request:
- If a previous load is still in progress, it will be canceled.
- If a previous load has completed, it will be cleaned up.
Loads an ad based on the given ad parameters.
When loadAd() is called from an already created GfpAdLoader instance, the ad request is performed after the following preprocessing.
1. if loading an ad is in progress, cancel the ad request. 2. if an ad has been loaded, clean up the preloaded ad.
Parameters
adParam
The ad parameters for loading the ad