Here is a checklist to help you find an potential problem you could encounter while implementing In-stream 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 Sashimi ad to display?
  3. Still a problem?

2. Is there a Sashimi ad to display?

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

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

if (adSdk.numberOfSashimiAdsAvailableForFormat ("SASHIMI_ZONE_ID", AFAdSDKSashimiFormat.AFAdSDKSashimiFormatMinimal) != 0) {
  // Minimal Sashimi ads are 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.

    @Override
    public void onInStreamAdAvailable(String zoneId) {
        // One or more in-stream (sashimi) ads are available
        Log.i (CLASS_TAG,"onInStreamAdAvailable for zone " + zoneId);

    if (adSdk.numberOfSashimiAdsAvailableForFormat (zoneId, AFAdSDKSashimiFormat.AFAdSDKSashimiFormatMinimal) != 0) {
      // Minimal Sashimi ads are available
    }
}

Why is no in-stream ad available?

  • Ads aren’t loaded from the web service.
  • You're trying to display in-stream ads before they are downloaded by the SDK. Please use the delegate to be informed when ads are available and then to reload your data if needed.
  • 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 and are not seeing ads. You'll see it once we do have a campaign in your geography.

3. Still a problem?

Don’t hesitate to contact us (see the Support section), we’ll do our best to help you.