Developer resources

Set up line items for Adaptive Banners

This guide provides best practices for line item setup when using Adaptive Banners. You can also use this guide to debug or verify the proper configuration of Adaptive Banners in your apps.

Adaptive Banners dynamically select and serve the best banner size for performance, taking into account the user’s device that will show the ad. Adaptive Banners can accommodate both reserved and backfill inventory. To ensure the right serving behavior for each, the following configuration is recommended in the Ad Manager UI (below) as well as in the Google Mobile Ads SDK for Anchored Adaptive Banners (Android | iOS ) and Inline Adaptive Banners (Android | iOS ).

Jump to:

Add line items for backfill inventory

When configuring line items for backfill inventory, under "Expected Creatives," enable All requested sizes. This ensures the line item will match the widest range of high-performing available ad sizes.

Serve reservations in Adaptive Banners

Reservation creatives can match Adaptive Banner line items based on how close their size is to the adaptive ad size.

  • Anchored Adaptive Banners will match any reservation that is at least 50% of the width and height of the adaptive ad size.
  • Inline Adaptive banners will match any reservation that is at least 50% of the width of the adaptive ad size, with any height. For example, if requesting an Inline Adaptive Banner with an adaptive ad size of 300x250, any reservation between 150x1 and 300x250 will be eligible to serve, centered, in the adaptive ad slot.
This behavior works best for reservations that have real sizes associated with them. Reservations with sizes such as 1x1 may not serve. 

If you want a specific reservation to always be matched, regardless of the device or adaptive ad size, add the size of that reservation creative to the array of:

We don’t recommend manually adding reservation creative sizes to the validAdSizes (iOS) or AdSizes (Android) array. This can lead to reservations serving in slots that are far larger than the reservation itself.

Configure Adaptive Banners and yield groups

For Adaptive Banners to work with yield groups:

  • For a mediation yield group, you must specify a size. To ensure maximum performance, 320x50 is strongly recommended. In your app code, use the publisherAdView.setAdSizes() method to add the size 320x50 as an entry in the AdSizes array.
  • For an Open Bidding yield group, no specific size is required because all sizes can be targeted.

Adaptive Banners and unified pricing rules

We don’t recommend using size targeting in unified pricing rules when working with Adaptive Banner ads. This is because Adaptive Banner ad sizes are dynamic and can change per user device.

Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue

Search
Clear search
Close search
Google apps
Main menu
Search Help Center
true
148
false