java.lang.Object | |
↳ | com.google.android.gms.ads.mediation.NativeAdMapper |
![]() |
Base mapping class for AdMob native ads.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
mAdChoicesContent | |||||||||||
mExtras | |||||||||||
mOverrideClickHandling | |||||||||||
mOverrideImpressionRecording |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the view being used as AdChoices content.
| |||||||||||
Returns a bundle of extras passed in setExtra method.
| |||||||||||
Returns true if the ad network does click handling on its own.
| |||||||||||
Returns true if the ad network does impression tracking on its own.
| |||||||||||
Subclasses should implement this method if the network requires the developer to explicitly
handle click events of views rendered to screen.
| |||||||||||
Subclasses should implement this method if the network requires the developer to explicitly
record an impression of a view rendered to screen.
| |||||||||||
Set a view to be used as AdChoices content.
| |||||||||||
Sets a bundle of extras containing attributes that are not already attributes of the Google
native ad object.
| |||||||||||
Set to true if the ad network does click handling on its own.
| |||||||||||
Set to true if the ad network does impression tracking on its own.
| |||||||||||
Subclasses should implement this method if the network requires the developer to prepare state
for recording an impression and/or click before a view is rendered to screen.
| |||||||||||
Subclasses should implement this method if the mediated network's SDK offers a way to stop
tracking a native ad view for the ad mapped by this object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Returns the view being used as AdChoices content.
Returns | |
---|---|
View |
Returns a bundle of extras passed in setExtra method.
Returns | |
---|---|
Bundle |
Returns true if the ad network does click handling on its own.
Returns | |
---|---|
boolean |
Returns true if the ad network does impression tracking on its own.
Returns | |
---|---|
boolean |
Subclasses should implement this method if the network requires the developer to explicitly handle click events of views rendered to screen.
Parameters | |
---|---|
view |
View
|
Subclasses should implement this method if the network requires the developer to explicitly record an impression of a view rendered to screen.
Set a view to be used as AdChoices content.
Parameters | |
---|---|
adChoicesContent |
View
|
Sets a bundle of extras containing attributes that are not already attributes of the Google native ad object.
Parameters | |
---|---|
extras |
Bundle
|
Set to true if the ad network does click handling on its own.
Parameters | |
---|---|
overrideClickHandling |
boolean
|
Set to true if the ad network does impression tracking on its own.
Parameters | |
---|---|
overrideImpressionRecording |
boolean
|
Subclasses should implement this method if the network requires the developer to prepare state for recording an impression and/or click before a view is rendered to screen.
Parameters | |
---|---|
view |
View
|
Subclasses should implement this method if the mediated network's SDK offers a way to stop tracking a native ad view for the ad mapped by this object.
Parameters | |
---|---|
view |
View
|