Baidu Native Ads 2.0 campaign configuration

At a glance: Baidu Native Ads 2.0 is an AppsFlyer ad network integrated partner.

Setting Up Baidu Native Ads 2.0

The setup is done from the Active Integrations page, but to find new partners you must first go to the marketplace


Before setting up an integration, make sure you contact the partner and open an account with them.

To activate the integration:

  1. Go to the Marketplace: From the top menu of any AppsFlyer page, click Marketplace
  2. Search for the partner and select it.
  3. Click Set up integration.
  4. Select the app for the integration. You’re directed to the integration setup page.
  5. In the Integration tab, turn Activate partner on.

Baidu Native Ads 2.0's configuration window includes 3 active tabs: Integration, Attribution link, and Permissions. Click on the items below to read about the tabs setup.

For a detailed description of the Partner Configuration Window Header, click here.


  • The General Settings step in the Integration tab is mandatory for all partners
  • All the rest of the steps are either descriptive or optional

Integration Tab

Activate Partner

On the first visit here, you will need to toggle below. ON the Activate Partner button to enable setup of the integration tab's parameters. The toggle MUST be ON for as long as you work with the partner.
For more details about partner activation please click here.

General settings

Baidu Native Ads 2.0 connects with AppsFlyer via a unique akey. If you don't already have the key, you must obtain it from Baidu Native Ads 2.0 to continue with the integration.


Default Postbacks


In-app events settings

In this section you can map your AppsFlyer events with Baidu Native Ads 2.0 via postbacks. 


  1. Toggle In-App Event Postbacks to ON
  2. Click Add Event to add an SDK Event to the list
  3. Fill in the following parameters:
Parameter Name Description
SDK Event Name The name of the event, as received by AppsFlyer either from the SDK integrated in your app, or from server to server events.
Tip - If you don't see the event you want in the list, make sure to activate the event on a device with a non-organic installation and recheck.
Partner Event Identifier The unique name or ID of each event as defined on Baidu Native Ads 2.0's side.
Obtain the corresponding Event ID from Baidu Native Ads 2.0 and set in the text field.
Send Revenue When unchecked - AppsFlyer sends all the parameters of the rich in-app event to the partner, except for the revenue parameter, which is contained in the af_revenue parameter.
When checked - AppsFlyer sends all the parameters including the revenue value (if it exists in the event).

Attribution Link Tab

In this tab, you can create the attribution links you want to send to Baidu Native Ads 2.0 for attributing Baidu Native Ads 2.0's campaigns, ad sets or even single ads. Note that AppsFlyer DOES NOT save your generated partner's attribution links.

This tab is divided into different sections:

Attribution Link Parameters

In this section, select which parameters you want to add to the attribution link.

Adding parameters to the attribution link here enables you to later perform thorough drill-down analyses. Parameters that are already defined on the attribution link can be edited by adding them and their new values here.

  • Campaign - add it to compare different campaigns running with Baidu Native Ads 2.0.
    Attribution link parameter: c
  • Adset - set ad set names to compare different ad sets within specific Baidu Native Ads 2.0 campaigns.
    Attribution link parameter: af_adset
  • Ad Name - set ad set names to compare different creatives within specific ad sets within specific Baidu Native Ads 2.0 campaigns.
    Attribution link parameter: af_ad
  • Site ID and Sub Site ID - set Site ID parameter to attribute installs to specific publishers. If many publishers exist, we advise on limiting the number of used site IDs and using the sub site ID parameter, to avoid exceeding the site ID limitations.
    Attribution link parameters: af_siteid and af_sub_siteid
  • Subscriber Parameters - use any of the 5 subscriber parameters to insert useful values. Note that these parameters get parsed and appear in the raw data report, which makes them very handy for performing data aggregation or filtering.
    Attribution link parameters: af_sub1, af_sub2, af_sub3, af_sub4, af_sub5


Add any other parameter to the attribution link simply by typing it in a new parameter box. Learn more about AppsFlyer's Attribution Link Structure and Parameters.

Click-Through Attribution

This slider allows you to set the maximum time from click to install. Only installs (first launches) that take place within the lookback window may be attributed to Baidu Native Ads 2.0.

Attribution link parameter: af_click_lookback

More details about the click lookback window here.


Attribution Link

This is the attribution link that contains all the setup information you have set for it. Send it to Baidu Native Ads 2.0 to be activated when leads click on a corresponding ad. 

Cost Tab

Cost data is not supported in the integration with this partner.

Ad Revenue Tab

Ad Revenue is not supported in the integration with this partner.

Permissions Tab 

Permissions are not supported in the integration with this partner.