CompanionAd

interface CompanionAd


An object that holds data corresponding to the companion Ad.

Summary

Public functions

String!

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

Int

The height of the companion in pixels.

String!

The URL for the static resource of this companion.

Int

The width of the companion in pixels.

Public functions

getApiFramework

fun getApiFramework(): String!

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

getHeight

fun getHeight(): Int

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

getResourceValue

fun getResourceValue(): String!

The URL for the static resource of this companion.

getWidth

fun getWidth(): Int

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