CompanionAd

public interface CompanionAd


An object that holds data corresponding to the companion Ad.

Summary

Public methods

abstract @Nullable String

The API needed to execute this ad, or null if unavailable.

abstract int

The height of the companion in pixels.

abstract @Nullable String

The URL for the static resource of this companion.

abstract int

The width of the companion in pixels.

Public methods

getApiFramework

abstract @Nullable String getApiFramework()

The API needed to execute this ad, or null if unavailable.

getHeight

abstract int getHeight()

The height of the companion in pixels. 0 if unavailable.

getResourceValue

abstract @Nullable String getResourceValue()

The URL for the static resource of this companion.

getWidth

abstract int getWidth()

The width of the companion in pixels. 0 if unavailable.