| java.lang.Object | |
| ↳ | com.google.android.gms.ads.AdLoader.Builder |
Builder for a AdLoader.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
AdLoader.Builder for constructing an AdLoader. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a new AdLoader.Builder for constructing an AdLoader.
| context | The context. |
|---|---|
| adUnitID | The ad unit ID. |
| listener | An object that handles displaying native app install ads. |
|---|
| listener | An object that handles displaying native content ads. |
|---|
| templateId | Custom template Id defined in the DFP front end. |
|---|---|
| adLoadedListener | An object that handles displaying native custom template ads. |
| customClickListener | An optional listener that handles custom clicks on custom template ads. |
| listener | An object that handles errors encountered when retrieving native ads. |
|---|
| correlator | A Correlator to attach with this loader. This parameter cannot
be null.
|
|---|
| options | An object that specifies various native ad options. |
|---|