public interface

MaxAd

com.applovin.mediation.MaxAd

Class Overview

This interface represents an ad that has been served by AppLovin's mediation server and should be displayed to the user.

Summary

Public Methods
abstract String getAdUnitId()
The ad unit id for which this ad was loaded.
abstract MaxAdFormat getFormat()
Get format of this ad.
abstract boolean isReady()
Check if the ad is ready to be displayed.

Public Methods

public abstract String getAdUnitId ()

The ad unit id for which this ad was loaded.

Returns
  • Ad unit identifier. Guaranteed not to be null.

public abstract MaxAdFormat getFormat ()

Get format of this ad.

Returns
  • Loaded ad format. Guaranteed not to be null.

public abstract boolean isReady ()

Check if the ad is ready to be displayed.

Returns
  • true if the ad is ready to be displayed.