public class
AdLoader
extends Object
An object for requesting ads.
Nested Class Summary
class | AdLoader.Builder | Builder for a AdLoader . |
Public Method Summary
String |
getMediationAdapterClassName()
Returns the mediation adapter class name.
|
boolean |
isLoading()
Returns
true if the ad is loading. |
void | |
void |
Inherited Method Summary
Public Methods
public String getMediationAdapterClassName ()
Returns the mediation adapter class name. In the case of a mediated ad response, this is the
name of the class that was responsible for performing the ad request and returning the ad.
For non-mediated responses, this value is null
.
public boolean isLoading ()
Returns true
if the ad is loading.
public void loadAd (PublisherAdRequest publisherAdRequest)
Send a request for an ad.
Parameters
publisherAdRequest | An object containing all of the request information. |
---|
public void loadAd (AdRequest adRequest)
Send a request for an ad.
Parameters
adRequest | An object containing all of the request information. |
---|