Skip to main content
Version: 1.x

Class: BannerAd

Hierarchy​

Constructors​

constructor​

• new BannerAd(opts)

Parameters​

NameType
optsBannerAdOptions

Overrides​

MobileAd<BannerAdOptions&gt;.constructor

Defined in​

index.ts:41

Properties​

id​

• Readonly id: number

Inherited from​

MobileAd.id

Defined in​

index.ts:14


opts​

• Protected Readonly opts: BannerAdOptions

Inherited from​

MobileAd.opts

Defined in​

index.ts:16

Accessors​

adUnitId​

• get adUnitId(): string

Returns​

string

Defined in​

index.ts:30

Methods​

hide​

▸ hide(): Promise<void>

Returns​

Promise<void>

Defined in​

index.ts:53


show​

▸ show(): Promise<void>

Returns​

Promise<void>

Defined in​

index.ts:49