Mix native ad source with splash placement. For more details, please refer to the AD Format Mixed supported Networks and Configurations.
1. Description
⚠️Note: Only Native App Self-rendering type is supported at the moment
2. How to use
- Please refer to here for configuring native mixed splash.
- 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.