Skip to main content

Error Code

Common WaterFall error code description#

Code call#

Developers canoneLayerLoadFailed obtain the TPAdError object in the listening callback

Taking the rewarded video type as an example, to obtain the reason why the advertising source failed to load, the code is as follows:

tpReward.setAllAdLoadListener(new LoadAdEveryLayerListener() {
@Override
public void oneLayerLoadFailed(TPAdError adError, TPAdInfo adInfo) {
Log.i(TAG, "oneLayerLoadFailed: The error code is " + adError.getErrorCode() + ", and the error message is " + adError.getErrorMsg());
}
});
Error code ErrorCodeError messageErrorMsgillustrate
1successAdvertisement loaded successfully.
2internal error!Unknown reason.
3load timeoutAd loading timed out.
(1) Check whether the current testing advertising source is an overseas source and whether it is scientifically connected to the Internet;
(2)(2) Whether the test machine is equipped with Google Family Bucket (whether it is an overseas version of the mobile phone);
(3) Some advertising sources need to be added to the third-party backend Test equipment;
(4) Some advertising sources need to be tested with a test ID.
4frequency limitSet a frequency limit under the ad slot to achieve the number of impressions within a limited time.
5ad not readyThe ad did not load successfully. It is called when the advertisement is not loaded successfullyshow(),or the third-party advertisement times out.
7network not connectionThe network cannot be connected. Check network conditions.
8has cache,no need to load againThe number of ad caches has reached the configuration limit.
9waterfall bean is nullThe waterfall delivery configuration is empty. It is necessary to check
(1) whether the adUnitId is filled in correctly, for example: there are spaces before and after the adUnitId setting;
(2) Check whether the corresponding advertising source is configured in the TradPlus background;
(3) The configuration is normal and the network status is normal. For example: If it is an overseas Bidding source, network problems will also cause the pull to fail. Overseas IP is required. For more information, please refer to Test Mode
(4) Check whether obfuscation is added according to the integration document, and whether the obfuscation is effective.
10wrong configThe server returns abnormal data. Please contact a TradPlus colleague to check the cause of the error.
11load all adSource failedAll advertising sources under waterfall configuration failed to load.
(1) Check whether the current testing advertising source is an overseas source and whether it is scientifically connected to the Internet;
(2) Whether the test machine is equipped with Google Family Bucket (whether it is an overseas version of the mobile phone);
(3) Some advertising sources need to be added to the third-party backend for testing Equipment;
(4) Some advertising sources need to be tested using test IDs;
(5) Developers need to filter tradpluslog to determine the reason why each source fails to load.
Developers are asked to troubleshoot the specific reasons based on Android FAQ
12no configThe waterfall delivery configuration is empty. It is necessary to check
(1) whether the network access of the test machine is normal;
(2) check whether obfuscation is added according to the integration document, and whether the obfuscation is effective.
13adapter not foundThe advertising source does not introduce the corresponding Adapter under the advertising slot configuration. Check the ad source configured for the ad slot. Correctly introduce third-party Adapters according to SDK DownLoad Platform
14show ad failedAd display failed.
15load failed interval please try again laterThe last load failed, and loading again is prohibited within 10 seconds.
16is loading please try again laterThe ad is already being requested, please load it later. Loading frequency is too high.
19has valid cache but not showThe last successful loading did not show, and loading again is prohibited within 4 minutes.
20Context is not Acvitiy contextCheck whether Activity is passed in when initializing the ad slot or showAd().
101adContainer is nullNative advertising misses ViewGroup.
102adLayout is nullNative banner ads are leaking layout files.
103Bidding FailedThere is an advertising source under the advertising space that sets the Bidding mode, when bidding fails. Error 103 will be sent directly. It is necessary to check
(1) whether the advertising space is configured with a Bidding advertising source;
(2) the configuration is normal. If it is an overseas Bidding source, network problems will also cause the pull to fail. An overseas IP is required. For more information, refer to the Test Mode
(3) Check whether obfuscation is added according to the integration document and whether the obfuscation is effective.
104Wrong a TPUnitID requestedThe created ad type and the requested API are inconsistent. Please check the background, for example, a standard native ad type is created, but the rewarded video API is used to request this ID.

Bidding error message#

Code call#

Developers canonBiddingEnd obtain the TPAdError object by listening to the AdLoadListener callback.

Taking the rewarded video type as an example, to obtain the reason why the advertising source failed to load, the code is as follows:

tpReward.setAllAdLoadListener(new LoadAdEveryLayerListener() {
@Override
public void onBiddingEnd(TPAdInfo tpAdInfo, TPAdError adError) {
Log.i(TAG, "onBiddingEnd: The error code is " + adError.getErrorCode() + ", and the error message is " + adError.getErrorMsg());
}
});
Error code ErrorCodeError messageErrorMsgillustrate
0Bidding Success-
21Bidding request parameter errorContact TP
22Bidding Bidding No advertising source found-
23Bidding Bidding Unavailable BuyeruidBuyeruid is used to obtain the token for this auction advertisement.
204Bidding request third party is not filledThree-party NOFILL
30Bidding Bidding request to third party failedTry several times
31Bidding request three-party timeoutTry several times, or switch network conditions
32Bidding request is successful, resp.SeatBid is emptyContact TP
34Bidding request is successful, resp fails to parse jsonContact TP
35Bidding was discarded: this bid is lower than the last bid
36Bidding request is successful but adm or price is wrongContact TP
37Bidding three-party thread goRoutine timeout-
38Bidding three-party request timed out, notice sending failedContact TP
39Bidding notice Price decryption failedContact TP
40Bidding was discarded because the price was lower than the floor price or exceeded the reserved number of bidding ad sources.-