NativeMediationAdRequest

public interface NativeMediationAdRequest implements MediationAdRequest

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

Public Method Summary

abstract float
getAdVolume()
Returns ad volume as a fraction of system volume.
abstract NativeAdOptions
getNativeAdOptions()
Returns the NativeAdOptions provided with the native ad request.
abstract boolean
isAdMuted()
Returns whether ad is muted.
abstract boolean
isAppInstallAdRequested()
Returns whether an app install ad is requested or not.
abstract boolean
isContentAdRequested()
Returns whether a content ad is requested or not.
abstract boolean
isUnifiedNativeAdRequested()
Returns whether an unified native ad is requested or not.

Inherited Method Summary

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 ()

Returns the NativeAdOptions provided with the native ad request. It returns null if NativeAdOptions are not provided.

public abstract boolean isAdMuted ()

Returns whether ad is muted.

public abstract boolean isAppInstallAdRequested ()

Returns whether an app install ad is requested or not.

public abstract boolean isContentAdRequested ()

Returns whether a content ad is requested or not.

public abstract boolean isUnifiedNativeAdRequested ()

Returns whether an unified native ad is requested or not.

发送以下问题的反馈:

此网页
需要帮助?请访问我们的支持页面