Skip to content

Integration Testing

When developers integrate the ToBid SDK, they often need to test various ad types from different ad networks. This is particularly important when first integrating the ToBid SDK, as developers should pay close attention to the parameters and configurations of each connected ad network.

To facilitate quick verification of integration results, ToBid provides developers with three options: a global testing tool, segment, and test parameters.

1. Testing Tool

The test ads enabled by the testing tool use the test IDs provided by ToBid for third-party ad networks. Developers do not need to configure any additional third-party parameters; they only need to add the test device ID.

To access the 【Testing Tool】 page of the ToBid aggregation tool, go to the location shown in the image below. After selecting the appropriate app, create a test device.

图片名称

In the popup window, enter the custom test device name, device ID type, and device ID. Then select the ad network you want to test and click save.

图片名称

Note: After selecting the ad network, all ad requests for all ad types on the current device under the selected app will serve test ads from the chosen ad network.

** Once you've added and activated the test device, it will start receiving test ads from the corresponding ad network.**

图片名称

2. Segment

When the test parameters provided by ToBid fail to fetch test ads from the desired ad network, developers can independently create specified device traffic groups in the waterfall management by selecting the "Device ID" grouping rule under "Traffic Segmentation." Afterwards, they can conduct tests using parameters they've applied for themselves.

** To create traffic segmentation, navigate to "Waterfall Management," select the desired app and ad placement, then click on "Add Group" to initiate the creation of traffic segmentation.**

图片名称

On the pop-up page, click on "Add Rule," then select either "Device ID" or "User ID" to create rules for specified devices.

图片名称

Rule Description

Rule NameRule DescriptionSupported Parameter Settings or Types
user_IDThe ID that identifies users within the app's user system can be passed into the ad request interface.This parameter is an ID generated within the developer's data system and is independent of the device ID. When unable to obtain the device ID, this parameter can be used to create specified groups.
Device IDThe device ID obtained from fetching hardware information on a mobile phone.iOS:IDFA;For Android 10 and above: OAID.

Note: In the same group, choose one of the two rules. If both rules are selected simultaneously, the server-side rule determination will take the intersection of the two rules for strategy deployment.

After selecting either "Device ID" or "User ID" and saving, a new traffic group will be created. This group signifies that when the device ID or user ID exactly matches the input value, ads will be delivered according to the current group's waterfall settings.

图片名称

As you can see, in the waterfall configuration of this group, only one ad source from Sigmob is enabled, unlike the default group with multiple ad sources. When developers make ad requests from this device at this point, they will directly fetch ads from Sigmob.

Tips

Developers, by following the above method, can establish a device-specific waterfall configuration. Under this configuration, they can activate ad sources with no floor price parameters for all ad networks, as shown in the following image:

图片名称

ToBid's server will, during each ad request, distribute ads from all ad sources according to the waterfall configuration mentioned above. Once developers have confirmed that ads from a particular ad network can be displayed, clicked, redirected, and installed properly, they can then deactivate the ad source of that network. This process continues until all ad sources have been tested and deactivated. Once completed, all integrated ad networks can be considered tested.

3. Test Parameters

Note: The following ad placements have already pre-added ad sources from a certain ad network, so no additional actions are required.

iOS ToBid APP ID:16990

AD NetworkReward VideoInterstitial Ad - Full-Screen VideoInterstitial Ad - Half-ScreenSplash AdNative AdBanner
Sigmob83733872086876959690693976929807-83747746425818425756789376418096-
CSJ221466592735182536695072496627189932244407925258224464927802267395371196343973739828667573411889
Tencent004675318897881315407984847278040280361704608848028036170460884871508292282864071651297928518439
Kuaishou61678232312277547639580150401715369098511667002763717765190250223359263494085330
Mintegral57873583300016563219172072794542-4291116760884064-
Baidu3956293378187630103631317459641646452950234711332304317258044592-
Vungle97579381663529819370028652340772---
UnityAds17286424673535555457847778477072---
AdMob63739890183715090355653553995763---7487727314082660

Android ToBid APP ID:16991

AD NetworkReward VideoInterstitial Ad - Full-Screen VideoInterstitial Ad - Half-ScreenSplash AdNative AdBanner
Sigmob93875951580519354753286031006593-20094706158322329224761251541712-
CSJ324554807017376497168199326072766041801895839958580029490965566431287619319313036426940313333654
Tencent119383600689214075454814078974683780333219352229343153239556237914893169354021500572652890771407
Kuaishou72335174585333663643065184356601990738028105766896334011110914187637507237063488-
Mintegral50628667981083021487634309430012-7335341774069271-4614865511129242
Baidu2771810861425553932916579726708475919844501599984971306168449311-8544641057554824

4. FAQ

QuestionAuxiliary Locating Operations
Ad Loading/Interaction/Display Abnormality1、Check the output error code and refer to the integration documentation to find the corresponding error code. If the issue cannot be resolved, proceed to step 2.
2、Replace the app ID, ad placement ID, and package name in Tobid's demo.
Verify the results:
* If the demo works fine, then the issue might lie in the integration code. You can carefully compare your integration code with the demo's code. If you still have questions, you can seek technical support for further clarification.
* If the demo encounters issues, you may need to capture network packets and provide the data to technical support.
Build ErrorOutput the error message to technical support. For initial integration, it's advisable to first establish a demo.
CrashWhen seeking technical support, it's helpful to provide as much information as possible, including the system version, device type, SDK version, ad type, crash logs, and steps to reproduce the issue. Additionally, for Android issues, providing the APK package can be beneficial.
Code Interface InquiryYou can start by reviewing the integration documentation. If the documentation doesn't address your issue, you can directly communicate with technical support.
OthersCommunication with Technical Support