RealDocs

UKismetSystemLibrary::HideAdBanner

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

Description

Hides the currently displayed mobile ad banner, forcibly closing it if it's open.

Caveats & Gotchas

  • iOS and Android only — a no-op on other platforms.
  • Forcibly closes the ad if it's currently open/expanded, which the platform ad SDK docs generally note can forfeit revenue for that impression.
  • Safe to call even if no banner is currently shown; it doesn't error on a no-op hide.

Signature

static void HideAdBanner()

Return Type

void

Example

Hide the banner when entering gameplay C++
UKismetSystemLibrary::HideAdBanner();

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.