Menu

Customized Splash ads

1. Description

⚠️Note: Only Native App Self-rendering type is supported at the moment

 

2. How to use

  1. Please refer to here for configuring native mixed splash.
  2. If you have selected TopOn SDK Rendering when configuring in the TopOn dashboard, then there is no need to add extra code.However, if you have opted for App Self-Rendering, please call the ATSplashAd#setNativeAdCustomRender() before calling load(). The sample code is as follows:
    ATSplashAd splashAd = new ATSplashAd(activity, "your placement id");
    splashAd.setNativeAdCustomRender(new ATNativeAdCustomRender() {
        @Override
        public View getMediationViewFromNativeAd(ATNativeAdInfo mixNativeAd, ATAdInfo atAdInfo) {
            // You can render the ad materials returned by the SDK into a View based on your own needs and return it here
            // You can refer to: https://github.com/toponteam/TPN-Android-Demo
            return MediationNativeAdUtil.getViewFromNativeAd(SplashAdActivity.this, mixNativeAd, atAdInfo, true);
        }
    });
    splashAd.load();

⚠️Notes

  • If you have selected APP Self-Rendering in the TopOn dashboard but have not implemented the self-rendered ad View in the code, then the TopOn SDK Rendering type will be used by default. If you have implemented the self-rendered ad View in the code, the ad background will be fully transparent by default. You will need to implement the effects for half-screen and full-screen ads yourself.

 

3. Notes for the Network

 

● Meta

 

⚠️Notes

  • In accordance with platform policy requirements, it is advisable to reserve at least 25% of the area at the bottom of the page as a non-advertising zone. As shown in the example below, the non-advertising area at the bottom can display your own Logo.

Previous
Best practices for Splash Ads
Next
Banner Ads
Last modified: 2025-05-30Powered by