Skip to content

InterstitialAd

The InterstitialAd class represents a full-screen interstitial ad format that can be shown to the user.

Properties

full_screen_content_callback / FullScreenContentCallback

The callback listener to receive events about presentation, dismissal, or failure to show. See FullScreenContentCallback.

var full_screen_content_callback: FullScreenContentCallback
public FullScreenContentCallback FullScreenContentCallback { get; set; }

on_ad_paid / OnAdPaid

Triggered when an ad impression is recorded and revenue has been generated. Receives an AdValue.

var on_ad_paid: Callable # Receives AdValue
public Action<AdValue> OnAdPaid { get; set; }

Methods

show / Show

Presents the full-screen interstitial ad overlay.

func show() -> void
public void Show()

destroy / Destroy

Destroys the native ad object and frees up resources.

func destroy() -> void
public void Destroy()

get_response_info / GetResponseInfo

Returns the mediation response info containing adapter history for the loaded ad.

func get_response_info() -> ResponseInfo
public ResponseInfo GetResponseInfo()