RealDocs

UKismetSystemLibrary::IsInterstitialAdRequested

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

Description

Returns true if an interstitial ad has been successfully requested from the ad network. Returns false if the load request itself failed, not just while it's pending. Android only.

Caveats & Gotchas

  • Only implemented on Android — always false elsewhere.
  • A true result does not mean the ad is ready to display; check IsInterstitialAdAvailable for that.
  • A false result after calling LoadInterstitialAd usually indicates a network failure or that no ad was returned by the ad network, not that the request is still pending.

Signature

static ENGINE_API bool IsInterstitialAdRequested()

Return Type

bool

Example

Retry a failed ad request C++
UKismetSystemLibrary::LoadInterstitialAd(0);
// ... later, e.g. on a timer ...
if (!UKismetSystemLibrary::IsInterstitialAdRequested())
{
    // Request failed - try again
    UKismetSystemLibrary::LoadInterstitialAd(0);
}

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.