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.
method | Data accuracy | Data real-time |
---|---|---|
S2S | Use the advertising platform reporting API to return revenue with accurate data | The 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.
(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 code | illustrate | solution |
---|---|---|
400 Invalid app token | Application ID setting error | Please check whether the app token filled in in the TradPlus developer backend is correct. |
400 Ignoring event, earlier unique event tracked | It 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 token | The 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 request | Authorization ID is missing or does not match | Please check whether the authorize filled in in the TradPlus developer backend is correct. |
403 App is inactive | App has been made inactive in Control Panel | Please contact adjust official customer service to help you solve the problem. |
403 Tracking disabled | Tracking for this platform is not enabled | Please contact adjust official customer service to help you solve the problem. |
403 Event token blacklisted | The event identifier has been blacklisted | Please contact adjust official customer service to help you solve the problem. |
404 App token not found | Application ID not found | Please check whether the app token filled in in the TradPlus developer backend is correct. |
451 Device is opted out | Device has exited tracking | Please contact adjust official customer service to help you solve the problem. |