RealDocs

UKismetSystemLibrary::ForceCloseAdBanner

function Engine Blueprint Since 4.0
#include "Kismet/KismetSystemLibrary.h"
Access: public Specifiers: staticUFUNCTIONBlueprintCallable

Description

Forces any currently displayed ad closed immediately.

Caveats & Gotchas

  • iOS and Android only — a no-op on other platforms.
  • The header explicitly warns this can lead to loss of ad revenue since it interrupts an in-progress impression rather than waiting for natural completion.
  • Distinct from HideAdBanner: this is meant for forcibly dismissing an ad (e.g. an unexpected interstitial), not routine banner cleanup.

Signature

static void ForceCloseAdBanner()

Return Type

void

Example

Forcibly dismiss an ad on a critical gameplay event C++
UKismetSystemLibrary::ForceCloseAdBanner();

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.