Menu

WeChat mini program support

1. Introduction

WeChat ecosystem ad refers to an ad type where, after the user clicks on the ad, it redirects to WeChat to open scenarios such as Mini Programs/Mini Games/Official Accounts/WeCom, with subsequent behavior conversions occurring within WeChat.

After integrating WeChat ecosystem ads following the process below, ad fill rate and eCPM can be effectively improved.

2. Overall Integration Process

① Create an app on the WeChat Open Platform and obtain the WeChat Open Platform AppID.

② Embed the WeChat OpenSDK in the app.

③ Associate the WeChat Open Platform App ID with the current app.

3. Detailed Steps

3.1 Create an App on the WeChat Open Platform

① Developers register on the WeChat Open Platform and create a main account and app (can be skipped if already created historically).

② In the WeChat Open Platform Management Center, obtain the WeChat Open Platform AppID corresponding to the app.

3.2 Embed WeChat OpenSDK in the App

Ensure that the OpenSDK version is Android 5.3.1 or above.

Copy
implementation 'com.tencent.mm.opensdk:wechat-sdk-android:+'

For detailed methods and resources for embedding OpenSDK, please refer to Android Integration Guide | WeChat Open Docs.

3.3 Associate the App with the WeChat Open Platform App ID

① The WeChat Open Platform App ID for each ad platform can be set through Taku's unified configuration.

② For some ad platforms, you need to go to the corresponding dashboard to associate.

3.3.1 Taku Unified Configuration Instructions

● For Taku SDK Version >= 6.3.50

In the Taku Developer Platform, under the [Apps] module, find the app that needs to be associated with the App ID, click Edit, and then bind the WeChat Open Platform AppID with the specified app.

The specific operation is as shown below:

Note: If the WeChat Mini Program AppID has already been set via the Taku SDK API, the AppID set via the API will take precedence.

● For 6.1.50 <= Taku SDK Version < 6.3.50

Before ad loading, you need to call the code to set the WeChat Mini Program AppID via the Taku SDK API:

Copy
ATSDK.setWXAppId( "Your Wechat AppId")

● For Taku SDK Version < 6.1.50

Before ad loading, you need to call the code to set the WeChat Mini Program AppID via the Taku SDK API:

Copy
Map custommap = new HashMap();
custommap.put(ATAdConst.KEY.WECHAT_APPID, "Your Wechat AppId");
....
// The CustomMap with the WeChat AppId must be set before Initialization.
ATSDK.initCustomMap(custommap);

3.3.2 Configuration Instructions for Each Ad Platform

The following is the configuration instructions for associating the WeChat Mini Program App ID for each ad platform.

Ad Platform Network Version Other Notes
Kuaishou 3.3.26 The Mini Program AppID needs to be provided to Kuaishou's operations or business personnel for configuration.
Mintegral 16.1.8 Can set the WeChat Mini Program AppID through Taku's unified configuration.
Pangle (China) Historical versions already supported The WeChat AppID needs to be entered in the Pangle (China) dashboard. Android SDK Support for WeChat Mini Program/Mini Game Redirect Integration Solution
GDT Historical versions already supported The WeChat AppID needs to be entered in the Tencent dashboard. Android Support for WeChat Ecosystem Link E-Commerce Ad Redirect Integration Solution
YouKeYing 2.9.0.9 The WeChat AppID needs to be associated in the YouKeYing dashboard.
Sigmob 4.6.0 The WeChat AppID needs to be associated in the Sigmob dashboard.
Baidu 9.231 Can set the WeChat Mini Program AppID through Taku's unified configuration.
Taku ADX 6.1.50 Can set the WeChat Mini Program AppID through Taku's unified configuration.
VIVO 6.1.5.1 Can set the WeChat Mini Program AppID through Taku's unified configuration.

3.3.3 MTG Import Notes

// Starting from SDK version 16.1.7, MTG ads support Mini Program redirect functionality. The SDK for non-Google Play markets will automatically import OpenSDK.

// If developers do not wish to use Mini Programs, they can exclude it using exclude. Example:

Copy
implementation ('com.mbridge.msdk.oversea:${adType}:${sdkVersion}'){
 exclude group: "com.tencent.mm.opensdk", module: "wechat-sdk-android"
}

// If using the Google Play market version of the SDK and you want to use the Mini Program redirect functionality, you can manually import OpenSDK.

Copy
implementation 'com.tencent.mm.opensdk:wechat-sdk-android:+'
Previous
Multiple Loaded Callbacks
Next
Advanced Settings
Last modified: 2026-07-03Powered by