public interface

NativeMediationAdRequest

implements MediationAdRequest
com.google.android.gms.ads.mediation.NativeMediationAdRequest

Class Overview

Information about the native ad to fetch for a single publisher. The information is passed through to the ad network's native ad adapter.

Summary

[Expand]
Inherited Constants
From interface com.google.android.gms.ads.mediation.MediationAdRequest
Public Methods
abstract NativeAdOptions getNativeAdOptions()
Returns the NativeAdOptions provided with the native ad request.
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.
[Expand]
Inherited Methods
From interface com.google.android.gms.ads.mediation.MediationAdRequest

Public Methods

public abstract NativeAdOptions getNativeAdOptions ()

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

Returns
NativeAdOptions

public abstract boolean isAppInstallAdRequested ()

Returns whether an app install ad is requested or not.

Returns
boolean

public abstract boolean isContentAdRequested ()

Returns whether a content ad is requested or not.

Returns
boolean