Menu

Custom Splash Ad

1. Instruction

Using the Splash Ad Placement to configure Native Ads. (Note: Only Native self-rendering type is supported for now.)

2. SDK Versions Corresponding to Supported Ad Source Types, Ad Platforms, and Rendering Modes

SDK Version Ad Placement Type Ad Source Type Ad Platform Rendering Mode
v5.9.30+ Splash Native Self-Rendering Tencent Ads, Pangle (China), Baidu, Kuaishou, Mintegral, Sigmob SDK Rendering
v6.1.78+ Splash Native Self-Rendering Meta, Inmobi SDK Rendering
v6.3.22+ Splash Native Self-Rendering Bigo, Huawei, Yandex SDK Rendering and Developer Self-Rendering

3. Developer Dashboard Configuration

  • Step 1: Create a Splash Ad Placement in the dashboard.
  • Step 2: Create an Ad Source under this Ad Placement. Click edit and select Native Ad in the Ad Source Type field. After selecting Native Ad, the rendering mode option will appear.
  • Step 3: Configure the third-party ad Placement ID. (Note: You need to configure a Native self-rendering ad placement ID, otherwise it will cause load failure or rendering issues.)

4. SDK Configuration

① SDK Rendering: Rendered using the SDK's built-in layout style. No additional code configuration is needed.

② Developer Self-Rendering: Custom style rendering of ads without using the SDK's built-in layout style. **Before loading the ad, additionally call the ATSplashAd#setNativeAdCustomRender() method, as follows:

Copy
// For detailed example, refer to demo: https://github.com/toponteam/Taku-Android-Demo/China/demo/app/src/main/java/com/test/ad/demo/SplashAdActivity.java
ATSplashAd splashAd = new ATSplashAd(context, placementId);
splashAd.setNativeAdCustomRender(new ATNativeAdCustomRender() {
            @Override
            public View getMediationViewFromNativeAd(ATNativeAdInfo mixNativeAd, ATAdInfo atAdInfo) {
                return MediationNativeAdUtil.getViewFromNativeAd(SplashAdActivity.this, mixNativeAd, atAdInfo, true);
            }
});
splashAd.load();

Notes:

① When the developer self-rendering mode is set in the developer dashboard and the self-rendering ad View is not implemented in code, the SDK's built-in layout style will be used for rendering by default.

② When the developer self-rendering mode is set in the developer dashboard and the self-rendering ad View is set in code, the ad background defaults to fully transparent.

Previous
Splash Ad Best Practices
Next
Banner Ad
Last modified: 2026-07-07Powered by