Summary: Nested Classes | Methods | Inherited Methods | [Expand All]
public class

# AdLoader

extends Object

java.lang.Object
↳ | com.google.android.gms.ads.AdLoader

## Class Overview

An object for requesting ads.

## Summary

Nested Classes
class | AdLoader.Builder | Builder for a `AdLoader`.

Public Methods
String | getMediationAdapterClassName() Returns the mediation adapter class name.
boolean | isLoading() Returns `true` if the ad is loading.
void | loadAd(PublisherAdRequest publisherAdRequest) Send a request for an ad.
void | loadAd(AdRequest adRequest) Send a request for an ad.

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## 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.