Skip to main content
Version: 1.x

Class: AppOpenAd

Hierarchy

  • GenericAd

    AppOpenAd

Constructors

constructor

new AppOpenAd(opts)

Parameters

NameType
optsMobileAdOptions

Overrides

GenericAd.constructor

Defined in

app-open.ts:46

Properties

id

Readonly id: number

Inherited from

GenericAd.id

Defined in

api.ts:13


opts

Protected Readonly opts: MobileAdOptions

Inherited from

GenericAd.opts

Defined in

api.ts:15


type

Static Readonly type: "app-open"

Overrides

GenericAd.type

Defined in

app-open.ts:46

Accessors

adUnitId

get adUnitId(): string

Returns

string

Defined in

api.ts:33

Methods

init

Protected init(): Promise<void>

Returns

Promise<void>

Inherited from

GenericAd.init

Defined in

app-open.ts:40


isLoaded

isLoaded(): Promise<boolean>

Returns

Promise<boolean>

Inherited from

GenericAd.isLoaded

Defined in

app-open.ts:21


load

load(): Promise<void>

Returns

Promise<void>

Inherited from

GenericAd.load

Defined in

app-open.ts:28


show

show(opts?): Promise<boolean>

Parameters

NameType
opts?Record<string, any>

Returns

Promise<boolean>

Inherited from

GenericAd.show

Defined in

app-open.ts:33


getAdById

Static getAdById(id): MobileAd<MobileAdOptions>

Parameters

NameType
idnumber

Returns

MobileAd<MobileAdOptions>

Inherited from

GenericAd.getAdById

Defined in

api.ts:24