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.

NSUInteger sashimiMinimalAdsCount = [AppsfireAdSDK numberOfSashimiAdsAvailableForFormat:AFAdSDKSashimiFormatMinimal forZone:@"ZONE_ID"];

The second way is to use the delegate method. It will let you know when ads are loaded and when there is a Sashimi ad available. We recommend you to use it for an ideal implementation.

Be sure to:

  • Set the delegate via [AppsfireAdSDK setDelegate:object]
  • Check Sashimi ads are available for the format you need!

- (void)sashimiAdsRefreshedAndAvailable {

    NSLog("Sashimi ads were received");

    // check if a sashimi ad is available for the format
    NSUInteger sashimiMinimalAdsCount = [AppsfireAdSDK numberOfSashimiAdsAvailableForFormat:AFAdSDKSashimiFormatMinimal forZone:@"ZONE_ID"];
    NSLog("Number of Sashimi Minimal ads received:%lu", (unsigned long)sashimiMinimalAdsCount);


If you use Interface Builder to build your Custom Sashimi (XIB), you must use +numberOfSashimiAdsAvailableForNibName:forZone at this stage.

Why no in-stream ad is 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 to Apple! And know that it is perfectly normal if you've turned off "debug mode" in preparation for submission to Apple 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.