Menu

WeChat mini program support

Introduction

WeChat ecological link advertising refers to the type of advertising in which after users click on the advertisement, they will jump to WeChat to open WeChat mini programs/mini games/official accounts/enterprise WeChat and other scenarios, and subsequent behavioral transformation will occur within WeChat.

After connecting to WeChat ecological link ads according to the following process, the ad fill rate and eCPM can be effectively improved.

Overall Access Process

1. Create an application on the WeChat Open Platform and obtain the WeChat Open Platform AppID

2. Embed WeChat OpenSDK in the application.

3. Associate the WeChat Open Platform App ID with the current application.

Detailed Steps

1. Create an application on the WeChat open platform

① The developer registers on the WeChat open platform and creates a main account and application (if the history has already been created, it can be ignored)

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

2. Embed WeChat OpenSDK in the application

It is necessary to confirm that the OpenSDK version is Android 5.3.1 and above.

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

For detailed methods and resources of embedding OpenSDK, please refer to Android Access Guide | WeChat Open Documentation

3. The application is associated with the WeChat open platform App ID

① You can set the WeChat Open Platform App ID of each network through Taku.

② For some networks, you need to go to the corresponding backend to make the association.

3.1 Taku unified setting instructions

For Taku SDK version >=6.3.50

Under the [App] module of the Taku developer platform, find the application that needs to be associated with the App ID and click Edit to bind the App ID of the WeChat Open Platform to the specified application.

The specific operations are shown in the figure below:

Note: If the WeChat applet APPID has been set through the API of Taku SDK, the APPID set by the API will take precedence.

For 6.1.50 <=Taku SDK version <6.3.50

Before the advertisement is loaded, the code needs to be called to set the WeChat applet APPID through the API of Taku SDK:

ATSDK.setWXAppId( "Your Wechat AppId")

For Taku SDK version <6.1.50

Before the advertisement is loaded, the code needs to be called to set the WeChat applet APPID through the API of Taku SDK:

Map custommap = new HashMap();
custommap.put(ATAdConst.KEY.WECHAT_APPID, "Your Wechat AppId");
....
//必须在初始化前设置好带WeChat的AppId的CustomMap
ATSDK.initCustomMap(custommap);

3.2 Configuration instructions for each network

The following are the configuration instructions for the App ID associated with the WeChat mini program for each network.

NetworkNetwork versionOther instructions
Kuaishou3.3.26< /td>You need to give the APPID of the WeChat applet to Kuaishou's operations or business personnel for configuration.
Mintegral16.1.8WeChat applet AppID can be set uniformly through TopOn
PangolinHistorical version already supportedYou need to pass in the WeChat AppID in the Pangolin background. Android SDK supports WeChat mini program/mini game jump access solution
Youlianghui Historical versions already support You need to fill in the WeChat AppIDAPPID in the Tencent backend.Android supports WeChat ecological link budget advertising jump access solution
You Keying2.9.0.9You need to associate the WeChat AppID in the Youkeying backend
Sigmob4.6.0Need to associate WeChat AppID in Sigmob background.
Baidu9.231WeChat applet AppID can be set uniformly through TopOn.
ADX6.1.50WeChat applet AppID can be set uniformly through TopOn.

3.3 Notes on the introduction of MTG

//Starting from SDK16.1.7 version, MTG advertising supports the mini program jump function, and the non-listed GP market SDK will automatically introduce opensdk,

// If the developer does not expect to use the mini program, you can use exclude. Example:

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

//If using the GP market version SDK, and if you want to use the mini program jump function, you can manually introduce opensdk

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

Previous
SDK preset strategy
Next
Advanced Settings
Last modified: 2025-05-30Powered by