Skip to content

Understitial

Integration

Understitials are typically displayed inside some scrollview, behind the content so the user show it themselves while going through the natural navigation so it doesn't negatively impact the user experience.

When an app shows an understitial ad, the user has the choice to either tap on the ad and will be forwarded or close it and return to the app. Understitials are very similar to the interstitials, but the place for their presentation is more specific.

The understitial ad is a special ad format. Please contact us upfront if you want to use it.

Prerequisites


  • Import the ADvantage SDK

Integration of the understitial ads


To integrate the understitial ad make sure that:

  • All elements that are on the same page as the ad must have a background-color/image. So that the background-image from the understitial ad is never visible through your content
  • The container where you put the ADvantage object should not have any background-color/image and you must set the ADvantage instance as transparent
  • We recommend that you use an ad position outside of the screen to have the full parallax effect

The ADvantage understitial ad will add containers below the current ADvantage instance in your structure.

Schematic representation: Banners

Implementing an understitial ad:

val understitial = Advantage(activity, license, adSiteId, adPosition)

// In understitial it is necessary to set the max dimension for the banner otherwise it will not work
// this value represents the Transparent AD space, it can be the size of the container or smaller
understitial.setMaxDimension(Size(expectedWidth, expectedHeight))

container.addView(understitial)

understitial.showAd()
Advatange understitial = new Advantage( activity, license, adSiteId, adPosition);

// In understitial it is necessary to set the max dimension for the banner otherwise it will not work
// this value represents the Transparent AD space, it can be the size of the container or smaller
understitial.setMaxDimension(new Size(expectedWidth, expectedHeight));

container.addView(understitial);

understitial.showAd();

We strongly recommend the use of a Consent Management Platform (CMP) compliant with TCF 2.0 if your audience on your website/app, in whole or in part, is located within the EU.

Click here for instructions on how to hand over TCF 2.0 Consent to ADvantage.