Skip to main content

Why your app is not showing ads: SDK troubleshooting

Trace an ad from request to impression, distinguish no fill from UI failures, and collect the evidence needed to investigate.

R
Written by Reiko

“Ads disappeared” has several possible meanings. The app may never have sent the request. The network may have returned no ad, an adapter may have failed, or a loaded creative may have stayed in cache after the user left the screen. Find the first step where events stop appearing. Replacing the ad unit or changing the library version is premature until you know where the break occurs.

​

Trace five stages

Stage

Log marker

What to check

Request permitted

eligible

User choice, format settings, and whether the screen is in the right state

Request sent

request_started

Ad unit ID, network, and SDK state

Ad loaded

loaded or an explicit error

Error code and domain, plus adapter details

App called show

show_requested

Current screen, window state, and ad object expiry

SDK recorded an impression

impression

Event listener, visibility, and analytics

Give each attempt a local ID so that three load requests on one screen and one successful impression remain distinct. Record a transition prevented by the frequency cap as a pre-request skip. Count network failures only after a request has been sent.

​

No fill means that no ad was selected for the request. On its own it does not establish an SDK failure. Break down no-fill rates by country, format, app version, and source. When several formats fail just after a release, compare adapter versions, initialization parameters, and ad units in the new build.

​

Diagnose from the app outward

  1. On a test device, open the actual screen and reproduce the action using test ads. Find the load and show events with the same attempt ID.

  2. In Ad Inspector, inspect the logs for the request sent from the app UI. A request initiated in the inspector is useful too, but may omit parameters supplied by the screen, including size and targeting. Compare both traces when they disagree.

  3. In Google's Android integration, retrieve ResponseInfo for successful and failed attempts. Depending on the outcome, it comes from the loaded ad or LoadAdError. Compare source statuses and latencies where those fields are available.

  4. Isolate the mediation source in a separate test. Start with a clean ad cache after changing test mode. Repeat with the same format and screen, changing only the source.

What a late response looks like

The user taps Done. The app requests a fullscreen ad and immediately opens the next screen. The response comes back two seconds later. The ad loaded successfully, but showing it over the new screen would be a bug. Call show only while the original window is open and that transition still permits it. Once the opportunity has passed, release the object or reuse it later where the format's rules permit.

​

Limit retries and use backoff with a small amount of jitter. Cancel pending retries when the screen closes or privacy settings change. A recovered connection should never release the entire backlog at once. A burst of requests can hide the original error.

​

Build a timeline of releases and configuration changes

Note when the new app version shipped, when mediation was reconfigured, and when frequency settings changed. A simultaneous fall in response rates for old and new builds points to ad unit settings or demand as places to investigate. If only the new build is affected, capture two traces from the same screen. Compare format, size, and when the first request fired. A daily failure total blends users who have updated with those still running the previous version.

​

After a fix, test the original path and adjacent branches. For a duplicate request fix, that includes cold launch and returning from settings. A successful impression is only one check. Verify request frequency and the permitted serving mode as well. Timestamps can expose background requests even when the screen renders correctly.

​

What to send to support

Include the app and OS versions, format, ad unit, placement, timestamp with time zone, error code, and response ID if the SDK supplied one. For mediation, include SDK and adapter versions. Leave out user data, raw request headers, and configurations containing secrets. This gives support a trace from load to show and enough context to compare it with the previous release.

​

Use stage counts to narrow the cause

In one hour, 1,000 transitions reach a potential ad placement. Of those, 700 pass frequency and privacy rules, 600 send a request, 510 receive an ad, 420 call show, and 400 become SDK impressions. Each gap gives you a different place to look. The drop from 1,000 to 700 reflects serving policy. From 700 to 600, examine the queue or dispatch logic. The gap between 600 and 510 is at the network response stage. From 510 to 420, inspect what the app decided after loading. From 420 to 400, look at show errors or impression logging. The headline figure, 400 out of 1,000, gives scale. The stage counts help you identify the cause.

​

Log a reason code when a transition is skipped. Expiry, leaving the screen, exceeding frequency limits, and a missing main window are different situations. A single show skipped event forces support to reproduce each one manually. A handful of stable reasons is enough for the main report. Keep detailed traces locally or in debug logs tied to a single attempt.

Observation

Likely area

How to narrow it down

Request volume fell after an update

SDK startup, screen policy, or configuration

Run old and new builds with the same placement and privacy state

Requests held steady, responses fell

Network, adapters, request parameters, or demand

Break down results by format, source, and version

Loads held up, impressions fell

Latency, cache, navigation, or the visual container

Compare device event order on normal and slow connections

SDK emits events, app report is empty

Listener, filter, or analytics queue

Trace one test attempt from the SDK event to storage

Review app, ad unit, and adapter settings

Confirm the package ID, build version, and environment. In the test report, identify the app and format tied to the ad unit. One common mistake is copying an interstitial unit ID from another environment and requesting it from a banner placement. Public integration IDs are enough for local diagnostics. Keep signing secrets, account privileges, and personal data out of the report.

​

Read the adapter list from the release build's dependency manifest. Adding a source in a mediation console does not install a library on the device. If a single-source test fails on one platform, compare the SDK version, adapter library, and required configuration. Record working SDK and adapter version pairs for the release. Updating the core and every adapter at once makes incompatibilities harder to isolate and roll back.

​

When a test ad works but a live request gets no fill, do not run the live action dozens of times. Compare the request from the screen with the inspector request, then confirm ad unit status and active sources in the console. Live demand changes with time and geography. A single no-fill result does not settle whether anything is broken.

​

Reproduce three tricky failures

Returning to the app after opening an external destination

A creative opens the app store. On return, the foreground handler interprets it as a new ad opportunity. Record the click, background, and re-entry events. Then return from settings and compare what triggered the request. Identical triggers suggest that the app cannot distinguish the two paths and may load or show an ad at the wrong moment.

​

Two independent load triggers

The screen and the SDK readiness handler start a request at the same time. Both use the same placement but create different objects. The first response fills the screen and the second replaces it. Count request_started events per eligible transition. Assign one owner for loading and return the in-progress attempt on a repeated call. A response can still arrive after the screen closes, so release it properly.

​

The container disappears during a layout change

Rotation or a tab switch recreates the container. The ad loads and the app requests display or binding, but the old container is no longer visible. Tag the request with a container version and bind only while the version matches. Removing the screen should release old video and native ad objects. Rotate several times during testing and confirm that allocated objects do not accumulate.

​

Prepare a pre-release regression run

  1. For each placement, test a normal impression, no response, and a screen closure before loading finishes. Record what was expected and what the app did.

  2. Compare two successive attempts after a settings change or after disabling a test source. Events from the previous ad should never count as a new request.

  3. Use distinct names for SDK and application events. A show_requested event without an impression is valid when display was canceled.

  4. After rollout, monitor response rate, actual impression rate, and errors per attempt. Group failures together once they have a confirmed common cause.

Set a checkpoint a few hours after rollout. Split logs by platform and app version, then compare the old and new builds on the same platform. A simultaneous shift in both groups may point to the network or demand. A shift confined to the new client calls for a test of what changed in that build. Close the investigation with a specific fix and a scenario that will catch a recurrence.

Documentation

Did this answer your question?