Overview
Backfill ads automatically show alternative ads when direct ads are unavailable, maximizing ad revenue.Configuration
1. Enable in Console
Enable backfill ads for your desired ad unit in Ad Control Console.Backfill Ad Settings
Check how to enable backfill ads in the console
2. Verify Ads
After Adrop team approval, when the ad unit becomes Monetizing status, backfill ads will be automatically displayed.On registered app domains, backfill ads will automatically display on configured ad placements without additional work.
How It Works
- SDK requests direct ads.
- If no direct ads are available (
AD_NO_FILL), it automatically requests backfill ads. - If no backfill ads are available, the
AD_BACKFILL_NO_FILLevent is fired.
Supported Formats
Currently, backfill ads only support banner format.| Ad Unit Format | Backfill Ad Format |
|---|---|
| Banner | Banner |
| Native | Banner |
Even in native units, backfill ads are displayed as banners.
Ad Size
Backfill ads automatically request creatives matching the container size.- Width: Responsive
- Height: Required (specify appropriate height)
- Alignment: Horizontal center alignment supported
Development Environment Testing
localhost Testing
- On localhost, you can make backfill ad requests if any ad unit connected to the app is Monetizing.
- However, actual ads will not be delivered on localhost, and the
AD_BACKFILL_NO_FILLevent will be fired. - To receive actual backfill ads, you must test on an app-registered domain (not localhost).
Event Handling
You can handle backfill ad-related events.Key Events
| Event | Constant | Description |
|---|---|---|
| Ad Received | AD_RECEIVED | Direct or backfill ad received |
| No Direct Ad | AD_NO_FILL | No direct ads (backfill request started) |
| No Backfill | AD_BACKFILL_NO_FILL | No backfill ad available |
Distinguishing Ad Types
You can distinguish ad types usingadData.format in the AD_RECEIVED event.