This interface is deprecated.
Use Adapter
and
MediationNativeAdConfiguration
instead.
Information about the native ad to fetch for a single publisher. The information is passed through to the ad network's native ad adapter.
Inherited Constant Summary
int | TAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE | As returned by
taggedForChildDirectedTreatment() , indicates that the app should not
be treated as child-directed for purposes of the Children’s Online Privacy
Protection Act (COPPA). |
int | TAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE | As returned by
taggedForChildDirectedTreatment() , indicates that the app should be
treated as child-directed for purposes of the Children’s Online Privacy
Protection Act (COPPA). |
int | TAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIED | As returned by
taggedForChildDirectedTreatment() , indicates that the publisher has
not specified whether the app should be treated as child-directed for purposes
of the Children’s Online Privacy Protection Act (COPPA). |
Public Method Summary
abstract float |
getAdVolume()
Returns ad volume as a fraction of system volume.
|
abstract NativeAdOptions |
getNativeAdOptions()
This method is deprecated. Use
getNativeAdRequestOptions() .
|
abstract NativeAdOptions |
getNativeAdRequestOptions()
Returns the
NativeAdOptions
provided with the native ad request.
|
abstract boolean |
isAdMuted()
Returns whether ad is muted.
|
abstract boolean |
isUnifiedNativeAdRequested()
Returns whether an unified native ad is requested or not.
|
Inherited Method Summary
abstract Date |
getBirthday()
This method is deprecated. No replacement.
|
abstract int |
getGender()
This method is deprecated. No replacement.
|
abstract Set<String> |
getKeywords()
Returns the set of keywords requested by the user, if defined by the
AdRequest .
|
abstract Location |
getLocation()
Returns the location of the user, if defined by the
AdRequest .
|
abstract boolean |
isDesignedForFamilies()
This method is deprecated. No replacement.
|
abstract boolean |
isTesting()
Returns true if the publisher is asking for test ads.
|
abstract int |
taggedForChildDirectedTreatment()
Returns whether the publisher indicated that the app is to be treated as
child-directed for purposes of the Children’s Online Privacy Protection
Act (COPPA) - //business.ftc.gov/privacy-and-security/childrens-privacy.
|
Public Methods
public abstract float getAdVolume ()
Returns ad volume as a fraction of system volume. Value will be between 0 and 1 inclusive.
public abstract NativeAdOptions getNativeAdOptions ()
This method is deprecated.
Use
getNativeAdRequestOptions()
.
Returns the NativeAdOptions
provided with the native ad request. It returns null if NativeAdOptions
are not provided.
public abstract NativeAdOptions getNativeAdRequestOptions ()
Returns the NativeAdOptions
provided with the native ad request.
public abstract boolean isAdMuted ()
Returns whether ad is muted.
public abstract boolean isUnifiedNativeAdRequested ()
Returns whether an unified native ad is requested or not.