Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • hideBanner(): Promise<void>
  • isAppOpenErrored(): boolean
  • isAppOpenLoading(): boolean
  • isAppOpenReady(): boolean
  • isAppOpenShowing(): boolean
  • isBannerConfigured(): boolean
  • isBannerErrored(): boolean
  • isBannerLoaded(): boolean
  • isBannerShowing(): boolean
  • isInterstitialErrored(): boolean
  • isInterstitialLoading(): boolean
  • isInterstitialReady(): boolean
  • isInterstitialShowing(): boolean
  • isRewardedInterstitialErrored(): boolean
  • isRewardedInterstitialLoading(): boolean
  • isRewardedInterstitialReady(): boolean
  • isRewardedInterstitialShowing(): boolean
  • isRewardedVideoErrored(): boolean
  • isRewardedVideoLoading(): boolean
  • isRewardedVideoReady(): boolean
  • isRewardedVideoShowing(): boolean
  • loadAppOpen(androidAdUnitId: any, iosAdUnitId: any, displayLandscape: any, displayWhenLoaded: any): Promise<void>
  • Load an AppOpen.

    Parameters

    • androidAdUnitId: any
    • iosAdUnitId: any
    • displayLandscape: any
    • displayWhenLoaded: any

    Returns Promise<void>

  • loadInterstitial(androidAdUnitId: any, iosAdUnitId: any, displayWhenLoaded: any): Promise<void>
  • loadRewardedInterstitial(androidAdUnitID: any, iosAdUnitID: any, displayWhenLoaded: any): Promise<void>
  • loadRewardedVideo(androidAdUnitID: any, iosAdUnitID: any, displayWhenLoaded: any): Promise<void>
  • markRewardedInterstitialRewardAsClaimed(): void
  • markRewardedVideoRewardAsClaimed(): void
  • setBannerAdSizeType(bannerAdSizeType: "BANNER" | "LARGE_BANNER" | "MEDIUM_RECTANGLE" | "FULL_BANNER" | "LEADERBOARD" | "SMART_BANNER"): void
  • Parameters

    • bannerAdSizeType: "BANNER" | "LARGE_BANNER" | "MEDIUM_RECTANGLE" | "FULL_BANNER" | "LEADERBOARD" | "SMART_BANNER"

    Returns void

  • setTestMode(enable: boolean): Promise<void>
  • Activate or deactivate the test mode ("development" mode). When activated, tests ads will be served instead of real ones.

    It is important to enable test ads during development so that you can click on them without charging advertisers. If you click on too many ads without being in test mode, you risk your account being flagged for invalid activity.

    Parameters

    • enable: boolean

    Returns Promise<void>

  • setupBanner(androidAdUnitId: any, iosAdUnitId: any, atTop: any): Promise<void>
  • Set up a banner that can then be displayed by calling showBanner. If a banner is already set up, it will be hidden and replaced by the new one.

    Parameters

    • androidAdUnitId: any
    • iosAdUnitId: any
    • atTop: any

    Returns Promise<void>

  • showAppOpen(): Promise<void>
  • showBanner(): Promise<void>
  • showInterstitial(): Promise<void>
  • showRewardedInterstitial(): Promise<void>
  • showRewardedVideo(): Promise<void>
  • wasRewardedInterstitialRewardReceived(markAsClaimed: any): boolean
  • wasRewardedVideoRewardReceived(markAsClaimed: any): boolean

Generated using TypeDoc