Skip to main content

Adjust integration

S2S integration method

TradPlus has integrated user-level monetization data with Adjust. TradPlus can automatically synchronize advertising monetization data to Adjust every day. Developers need to complete the configuration on both the client and the TradPlus backend to use this feature normally.

methodData accuracyData real-time
S2SUse the advertising platform reporting API to return revenue with accurate dataThe data of the previous day will be synchronized starting at 10 o'clock Beijing time every day, and the synchronization is expected to be completed around 12 o'clock. Please check the data time zone in the TradPlus backend -> My Account.

Note (recommendation) Reporting through dicCustomValue and initCustomMap needs to be completed before TradPlus SDK is initialized; otherwise, some userId may not be returned.

1. Client configuration

Developers need to pass the adid generated by Adjust to us as user_id

  • Android native code examples:
HashMap<String, String> customMap = new HashMap<>();
customMap.put("user_id", "adid");
//Set the rules of APP dimension, which are valid for all placements
SegmentUtils.initCustomMap(customMap);
  • Unity SDK code example::
Dictionary<string, string> map = new Dictionary<string, string>();
map.Add("user_id", "adid");
//Set the rules of APP dimension, which are valid for all placements
TradPlus.initCustomMap(map);
2、TradPlus background configuration

Step 1: Configure the add or edit application interface in the TradPlus backend and fill in Adjust’s security identification code and application identification code.

Official documentation

(1)Obtain the application identification code of Adjust backend

  • Select AppView > All apps.
  • Select your app name from the list.
  • Select App information and scroll to App details.

(2) Obtain the security identification code of the Adjust backend (if s2s security authentication is not set up in the Adjust backend, you do not need to fill in this information.)

(3) Fill in Adjust’s security identification code and application identification code in the TradPlus backend.

Step 2: Generate the key value in the report API key interface of the TradPlus backend. If it has already been generated, skip this step.

Step 3: TradPlus will automatically send data to Adjust at 10 am Beijing time every day. Developers can view data in the adjust backend

3、API error codes & FAQ
error codeillustratesolution
400 Invalid app tokenApplication ID setting errorPlease check whether the app token filled in in the TradPlus developer backend is correct.
400 Ignoring event, earlier unique event trackedIt has been set as the only event on the control panel, and repeated trigger events will no longer be recorded.Please contact adjust official customer service staff or
400 Invalid event tokenThe event identifier does not exist, is set incorrectly, or does not match the application identifier.Please check whether the app token filled in in the TradPlus developer backend is correct.
401 Failed to authorize requestAuthorization ID is missing or does not matchPlease check whether the authorize filled in in the TradPlus developer backend is correct.
403 App is inactiveApp has been made inactive in Control PanelPlease contact adjust official customer service to help you solve the problem.
403 Tracking disabledTracking for this platform is not enabledPlease contact adjust official customer service to help you solve the problem.
403 Event token blacklistedThe event identifier has been blacklistedPlease contact adjust official customer service to help you solve the problem.
404 App token not foundApplication ID not foundPlease check whether the app token filled in in the TradPlus developer backend is correct.
451 Device is opted outDevice has exited trackingPlease contact adjust official customer service to help you solve the problem.