Here is a checklist to help you find an potential problem you could encounter while implementing Interstitial Ads your application.

Before contacting us, please check each point so we can help you more quickly in your debugging process.

  1. General troubleshooting
  2. Is there a modal ad to display?
  3. What if requesting a modal doesn’t work?

1. Is there a modal ad to display?

When you are sure ads are correctly loaded (see General troubleshooting), you can check if there is any modal ad available.
You have two ways to know it.

The first one is pretty simple and can be done whenever you want.

if (m_adSdk.isAModalAdOfTypeAvailable("SUSHI_ZONE_ID", AFAdSDKModalType.AFAdSDKModalTypeSushi)) {
    // sushi ad is available

The second one it to use the event handler. It will let you know when ads are loaded and when there is a modal ad available. We recommend you to use it for an ideal implementation. See "Implementation (Java)" or "Implementation (C)" for setting up an event handler.

public void onModalAdAvailable(String zoneId) {
  // A modal ad (sushi interstitial) is available
  Log.i (CLASS_TAG, "onModalAdAvailable for zone " + zoneId);

Why is there no modal ad available?
* Ads aren’t loaded from the web service.
* You're no longer in debug mode, and there is no ad to display at that time in your country

If you're not seeing your app because of the second reason, be sure to toggle “debug mode”, which will display an app whatever the conditions. Just make sure to disable “debug mode” before submitting your app! And know that it is perfectly normal if you've turned off "debug mode" in preparation for submission to Google Play and are not seeing ads. You'll see it once we do have a campaign in your geography.

2. What if requesting a modal ad doesn’t work?

Be sure to implement the event handler method that alerts you when a modal failed to display. It may give you a clue! Check the method onModalAdFailedToDisplay(AFAdSDKError errCode)