Troubleshooting
SDK logs
Section titled “SDK logs”The SDK writes its logs to the unified logging system, with the subsystem com.wortise.ads and the category sdk. Every message starts with <Wortise>, so they can be filtered both in the Xcode console and in the Console app.
By default, the SDK logs the main events of each ad (loaded, failed to load, shown, clicked…) and the errors. To obtain more detail, raise the log level before initializing the SDK:
WortiseLog.level = .debugSome messages that are useful to verify an integration:
| Message | Meaning |
|---|---|
Device identifier: ... | Logged at initialization. It is the device identifier sent with the ad requests, the one to add as a test device in the dashboard |
Interstitial ad loaded for ad unit ... | The ad is ready to be shown (there is an equivalent message for each format) |
Interstitial ad failed to load for ad unit ...: NO_FILL | The load failed, with the name of the error |
showAd(from:) called with no ad available | showAd(from:) was called without a loaded ad |
Ad load for ... is in cooldown, skipping request | loadAd() was ignored because of a recent failed load (debug level) |
Ad errors
Section titled “Ad errors”The didFailToLoad and didFailToShow delegate methods receive a WAAdError. Its name property returns the name shown in the logs, and message a short description.
| Error | Name | Meaning | What to do |
|---|---|---|---|
.sdkNotInitialized | SDK_NOT_INITIALIZED | An ad was requested before the SDK was initialized | Call WortiseAds.shared.initialize at app launch, before loading any ad |
.invalidParams | INVALID_PARAMS | A value of the request is missing or not valid | Check that the ad unit ID is set, is correct and belongs to the format that is being loaded |
.noFill | NO_FILL | There is no ad available for the request | It is expected from time to time. See No fill when it always happens |
.serverError | SERVER_ERROR | The ad server could not be reached, or it returned an error | Check the connectivity of the device and try again later |
.timeout | TIMEOUT | The load took too long | Try again later |
.loadFailed | LOAD_FAILED | The ad could not be loaded | Try again later |
.renderError | RENDER_ERROR | The ad could not be rendered or presented | Show the ad from a view controller that is on screen, and load a new ad |
.unspecified | UNSPECIFIED | Any other error | Review the SDK logs for more detail |
After a failed load, wait before trying again, as explained in Best practices.
Common problems
Section titled “Common problems”The app crashes at launch
Section titled “The app crashes at launch”The GADApplicationIdentifier key is missing in the Info.plist file, or its value is not valid. Add it with the Google App ID of your app, as explained in Setup Info.plist. The app also crashes when the ATT authorization is requested and NSUserTrackingUsageDescription is missing.
The ads fail with SDK_NOT_INITIALIZED
Section titled “The ads fail with SDK_NOT_INITIALIZED”An ad is being loaded before WortiseAds.shared.initialize has been called. It usually happens only on the first launch after installing the app, because the app key is stored once the SDK has been initialized: delete the app and install it again to reproduce it. Initialize the SDK at app launch, before any ad is created.
The ads do not fill
Section titled “The ads do not fill”- Load the corresponding test ad unit. If it does not fill either, the problem is in the integration: review the SDK logs and the rest of this page.
- If the test ad unit works, check that the ad unit ID is the one shown in the dashboard and that it belongs to the format that is being loaded.
- In banners, check that
rootViewControllerhas been assigned before callingloadAd(). Without it, part of the demand can not be loaded. - A
NO_FILLfrom time to time is normal: the availability of ads depends on the country, the device and the user.
The delegate methods are not invoked
Section titled “The delegate methods are not invoked”- Banner, interstitial, rewarded and app open ads hold their delegate weakly. If the delegate is an object that nothing else references, it is released immediately.
- Check that the
delegateproperty has been assigned, and that the signature of each method is exactly the one shown in the guide of the format. The methods are optional, so a method with a different signature compiles but is never invoked. loadAd()does not invoke the delegate when it is ignored: while another load is in progress, or during the cooldown that follows a failed load.
showAd(from:) does nothing
Section titled “showAd(from:) does nothing”- No ad is available. Check
isAvailablebefore showing: the method returns without invoking the delegate when there is nothing to show. - The ad has already been shown. Each ad can only be shown once, so load a new one after
didDismiss. - The view controller that was passed is not on screen, or is already presenting another view controller.
loadAd() does nothing after a failure
Section titled “loadAd() does nothing after a failure”After a failed load there is a cooldown (30 seconds by default) during which new loads are ignored. Use isInCooldown and cooldownRemaining to know when the ad can be loaded again.
The app open ads are never shown
Section titled “The app open ads are never shown”When using WAAppOpenManager, loadAd() must be called once after getting the instance. The manager only shows an ad when the app becomes active and an ad is already loaded.
The consent dialog is not shown
Section titled “The consent dialog is not shown”request(ifRequired:) only shows the dialog when the consent is required and has not been collected yet. In any other case, its delegate receives false and the app can continue.
If the problem persists, contact us and include the SDK logs with the debug level enabled.
© 2026 Wortise. All rights reserved.