public interface

AppLovinAd

com.applovin.sdk.AppLovinAd

Class Overview

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

Summary

Public Methods
abstract long getAdIdNumber()
Represents a unique ID for the current ad.
abstract AppLovinAdSize getSize()
Get size of the ad to display.
abstract AppLovinAdType getType()
Get the ad type of the current ad.
abstract boolean isVideoAd()
Check whether this is a video ad.

Public Methods

public abstract long getAdIdNumber ()

Represents a unique ID for the current ad. Please include this if you report a broken/bad ad to AppLovin Support.

Returns
  • A unique identifier of the ad.

public abstract AppLovinAdSize getSize ()

Get size of the ad to display.

Returns
  • Ad size

public abstract AppLovinAdType getType ()

Get the ad type of the current ad.

Returns
  • Ad type

public abstract boolean isVideoAd ()

Check whether this is a video ad. If so, upon display, a new video player activity will be launched.

Returns
  • True if a video ad. False otherwise.