Skip to main content

Test Mode

I. Introduction#

After integrating TradPlus, developers need to test the aggregated ad platforms and ad types. In order to facilitate developers to verify the integration effect, TradPlus provides the test mode function. After configuring the test mode in the TradPlus background, the test device can directly use the preset ad source of the TradPlus platform for testing.

Prerequisites for configuring test ads:#

  • (1) The test machine must be a real machine
  • (2) Overseas sources need to be able to access Google and other websites normally.

II. Usage#

1. Enter test mode#

In Advanced Settings ——> Test Mode, enter the test mode setting page of the ad unit

2. Add test device#

  • When adding a test device, fill in the device ID, device name, application and ad network
  • Device ID supports the following content: iOS supports IDFA, IDFV
  • As shown in the figure above: configure the test mode of the ad network Facebook, and add the required ad types accordingly
//Get IDFA
[[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString];

Note:

  • After adding or modifying the test mode, it will take effect after 5 minutes. After testing, please close the device's test mode
  • TradPlus SDK advertising strategy has a caching mechanism. To verify the effect, after turning on the test mode, increase the phone system time by 1 hour for testing or clear the application cache.
  • The system will automatically shut down after 24 hours after the test mode is turned on.
  • When using the test mode, you do not need to modify your existing ad unit ID
  • After the test device takes effect, the test device will only receive the test configuration of this ad network

3、Confirm whether the test mode is successfully turned on#

  • Filter "TradPlusLog" to confirm, if there is "** TradPlus TestMode is on*" means it has been successfully turned on, otherwise There will be no Log printing
  • It should be noted that the test mode is closed after the test is completed, otherwise will always deliver the advertisement configured in the test mode
2022-01-01 15:23:42.940570+0800 demo4.6.5[476:10610] TradPlus--> **********************
2022-01-01 15:23:42.941335+0800 demo4.6.5[476:10610] TradPlus--> TradPlus TestMode is on
2022-01-01 15:23:42.942033+0800 demo4.6.5[476:10610] TradPlus--> adsource_placement_id = BF52F20494C1E9B7AAA02C79A8F77FE4
2022-01-01 15:23:42.942421+0800 demo4.6.5[476:10610] TradPlus--> channel_name = admob
2022-01-01 15:23:42.942764+0800 demo4.6.5[476:10610] TradPlus--> **********************

III. Notes for configuring some ad sources#

1. FaceBook#

Prerequisites:

2 Third-party channel test conditions#

  • For overseas ad sources, some sources can only fill more resources if they switch VPN even if the test mode is turned on, otherwise they will often NO_FILL.
  • Pay attention to the reminder in the instructions, some sources can only pull test ad materials in China; if you pull it multiple times and fail, please switch VPN according to the instructions for testing.
Ad PlatformDescription
Meta biddingEurope and America will issue configuration
AdmobChina and Europe and America will be easier to fill
AdColonyChina and Europe and America will be easier to fill
UnityAdsChina
TapjoySingapore, USA
LiftoffChina
Liftoff biddingEurope and America will issue configuration
ApplovinChina and USA will be easier to fill
IronSourceChina
ChartboostChina and USA will be easier to fill
MintegralChina
Mintegral Overseas BiddingEurope and America configuration will be issued
Mintegral Domestic BiddingChina
InMobiUnited States, Singapore
FyberSingapore
StartAppChina and USA will be easier to fill
MaioJapan and Korea, Singapore will be easier to fill in
MytargetRussia, Singapore
Mytarget Overseas BiddingRussia, Singapore, configuration will be issued
OguryChina and Europe and America will be easier to fill
KidzoChina and USA will be easier to fill
SmaatoChina and USA will be easier to fill
Pangle OverseasJapan and Korea
Pangle Overseas BiddingJapan and Korea, configuration will be issued
GDTChina
GDT BiddingChina
Toutiao DomesticChina
Klevin Youke WinningChina
SigmobChina
Sigmob BiddingChina
YoudaoChina
KuaishouChina
BaiduChina