Home Manual Reference Source

Typedef

Static Public Summary
public
public

Banner config object.

public

Base config object.

public

Interstitial config object.

public

Reward Video config object.

Static Public

public BANNER_SIZE: Object source

Properties:

NameTypeAttributeDescription
BANNER string

BANNER

IAB_BANNER string

IAB_BANNER

IAB_LEADERBOARD string

IAB_LEADERBOARD

IAB_MRECT string

IAB_MRECT

LARGE_BANNER string

LARGE_BANNER

SMART_BANNER string

SMART_BANNER

FLUID string

FLUID

public BannerConfig: BaseConfig source

Banner config object.

Properties:

NameTypeAttributeDescription
bannerAtTop boolean
  • optional
  • default: false

set to true, to put banner at top

overlap boolean
  • optional
  • default: true

set to true, to allow banner overlap webview

offsetTopBar boolean
  • optional
  • default: false

set to true to avoid ios7 status bar overlap

size string
  • optional
  • default: SMART_BANNER

BANNER_SIZE

public BaseConfig: Object source

Base config object.

Properties:

NameTypeAttributeDescription
id string
  • optional
  • default: TESTING_AD_ID

Ad Unit ID

isTesting boolean
  • optional
  • default: false

Receiving test ad

autoShow boolean
  • optional
  • default: true

Auto show ad when loaded

forChild boolean | null
  • optional
  • default: null

Child-directed setting. Default is not calling tagForChildDirectedTreatment. Set to true for tagForChildDirectedTreatment(true). Set to false for tagForChildDirectedTreatment(false).

forFamily boolean | null
  • optional
  • default: null

Designed for Families setting. Android-only. Default is not calling setIsDesignedForFamilies. Set to true for setIsDesignedForFamilies(true). Set to false for setIsDesignedForFamilies(false).

location Array<number> | null
  • optional
  • default: null

Location targeting. It accept an array in the form of [latitude, longitude]. Android-only. Default is not calling setLatitude and setLongitude.

See:

public InterstitialConfig: BaseConfig source

Interstitial config object.

public RewardVideoConfig: BaseConfig source

Reward Video config object.