Testing & Debuging
Demo ad units
The quickest way to enable testing is to use Carty-provided demo ad placements.
| Ad format | Demo ad placement ID |
|---|---|
| RewardedVideo | 281217152650 |
| Interstitial | 281217152620 |
| AppOpen | 281217152630 |
| Banner | 281217152640 |
| Native | 281217152610 |
Enable test devices (Test mode)
When you configure your device as a test device, the Carty will send production ads in test mode to your device, allowing you to test all ad placements under your account.
Add a test device
- Sign in to your Carty account.
- Select the App "Test Management"

- Enter your IDFA And Device Info

Note:
After adding or modifying the test mode, it will take effect after 5 minutes. After testing, please close the device's test mode
Error code
| Error code | Description |
|---|---|
| 20001 | Please pass placement id when constructing an ad request |
| 20002 | No ads are eligible for your device (No fill) |
| 20003 | Unable to connect to the network |
| 20004 | Resource download timed out |
| 20005 | Resource download failed |
| 20006 | The ad request timed out |
| 20007 | Payload format error |
| 20008 | The ad request failed |
| 20100 | No find CartySDKResources.bundle |
| 20101 | No find Resource in CartySDKResources.bundle |
| 20102 | Resource file corrupted |
| 30001 | The ad cannot be used to display it |
| 30002 | No ad to show |
| 30003 | Ad has expired |
| 30004 | Missing ad resources,cannot use |
