Emulator
Test an ad unit from the dashboard on a cloud Android or iOS device, with no phone, no QA build and no test device registration. See the ad, the SDK events and the auction.
The Emulator lets you preview and test ads without a phone or a test device. Open it from Dev Tools → Emulator. It runs a CloudX test app on a cloud Android or iOS device inside the dashboard. Pick an app and an ad unit, and the device requests an ad for that ad unit. You don’t need a QA build of your app or a registered test device. Use it to check an ad unit’s line items and bidders before your developer finishes the integration, or to see an ad for another country or price.
The Emulator uses your app’s app key, bundle ID and ad unit, but it doesn’t run your app, and its test app includes only some network adapters. To check that your app starts the SDK and shows ads from all your networks, use a test device or the Mediation Debugger.
When to use it
| Tool | What it checks | What you need |
|---|---|---|
| Emulator | An ad unit’s line items, Test Bidder and some networks, and how the ad looks | An ad unit with an active line item |
| Test device | Your app’s integration, from SDK start to impression | A phone, a QA build, and the device registered |
| Mediation Debugger | Adapters, configuration and privacy state inside your app | Your app with the CloudX SDK on a phone. See how to open it |
Run the Emulator
Before you begin: the ad unit needs at least one active line item. The device starts with any line item, but line items in Draft or Paused don’t serve. To show sample ads only, use an active line item with Test Bidder. Use a banner, MREC, interstitial or rewarded ad unit.
- Go to Dev Tools → Emulator. If you have edit access, you can also open the
⋮menu of an ad unit on the Ad Units page and select Test, which opens the Emulator with that ad unit selected. - In App / Ad unit, select the app and the ad unit. The ad unit’s line items appear below, and the device starts in Device Preview and loads an ad. An Android app runs on a cloud Android device, and an iOS app on a cloud iOS device.
- For an interstitial or rewarded ad unit, tap Show Ad on the device after the ad loads. Banners and MRECs show as soon as they load.
- To change the test request, edit the overrides (see Overrides) and click Apply. The device loads a new ad with them.
- To request a new ad, click Reload Ad. This also clears the Event Log.
The Event Log shows what happens on the device. See Event Log.
Change line items from the Emulator
To add a line item, click Add line item. To change one, click its row.
If a bidder on the line items has no bidder configuration on the app or ad unit, a warning says it might not be used in the auction.
Overrides
Overrides change the test request only. They don’t change your configuration. The Emulator fills them in when you pick an ad unit, and fills them in again when the ad unit’s floor or line items change, which replaces any values you entered.
| Override | What it does | Default |
|---|---|---|
| Country | The country of the test request, for country targeting and bidders | The country that matches the most line items on the ad unit, otherwise the United States. Choose Use device location to send the cloud device’s own location |
| Bidder test prices | Replaces the CPM of each bid a bidder returns, before CloudX ranks the bids, so a test bid can clear your floors | Set above the floors that apply to each bidder in the default country. Meta is fixed at $99 and can’t be changed |
| Timezone ID | The IANA timezone used for line item schedules, for example America/Chicago | Your browser’s timezone |
| Geo coordinates | Latitude and longitude for the test request, under Advanced: Geo Coordinates | Not set |
Bidder test prices are set for the default country. If you change Country to one with higher floors, raise the bidder test prices too, or the bids can fall below the floor.
A test price applies only to a bid the bidder returns. If a bidder doesn’t bid, the test price has no effect.
Event Log
The Event Log lists the test app’s events, newest first.
The main events are:
| Event | Meaning |
|---|---|
| SDK initializing, SDK initialized | The CloudX SDK in the test app started with your app key |
| SDK initialization failed | The SDK didn’t start. Click Reload Ad. If it fails again, contact us |
| Loading ad | The device asked CloudX for an ad. The attempt can still end in Ad load failed |
| Ad loaded | A bid won, and the ad loaded on the device |
| Ad load failed | No ad. See If no ad shows |
| Ad displayed, Ad display failed | The ad showed, or the test app couldn’t show it |
| Ad clicked, Ad closed, Reward granted | You interacted with the ad |
| Revenue paid | The SDK reported revenue for the ad. With test prices, this is a test value, and it doesn’t appear in revenue reports |
Click Clear to empty the log.
See the auction
Emulator requests are test traffic. Test Bidder can bid, networks that support it serve their own test ads, and the requests stay out of revenue reports. The auction is stored in the Auction Archive with the request, the response and the bidder calls. To find it, go to Dev Tools → Auction Archive, click Refresh, and filter by the app and ad unit.
If no ad shows
If the Event Log shows Ad load failed, open the auction in the Auction Archive. If there’s no auction yet, click Refresh again after a moment. Possible reasons are:
- The ad unit has no active line item. Line items in Draft or Paused don’t serve
- The ad unit is a native or App Open ad unit, which the Emulator doesn’t support. There’s no auction in this case
- The line items target countries other than the Country override, or the schedule is off in the Timezone ID you set
- The bidder test price is below a floor, for example after you changed Country
- A bidder has no bidder configuration on the app or ad unit, so it may not be called. The Emulator shows a warning for this
- The bidder is in the app’s Disabled bidders
- The network’s adapter isn’t in the test app. See Traits and limitations
- The bidder doesn’t bid on test traffic. Use a bidder that serves test ads and works in the Emulator: Test Bidder, Meta, Mintegral, Vungle, InMobi, illumin or zMaticoo. See Test a network’s test ads
- On iOS, the bidder doesn’t serve on a simulated device. See Network limitations on the iOS Simulator
If the Event Log shows Ad loaded for an interstitial or rewarded ad, tap Show Ad on the device. If the auction has a winner but no ad shows, contact us and include the downloaded auction.
Traits and limitations
| Trait | Remarks |
|---|---|
| Your app | Not used. The Emulator runs a CloudX test app, so it can’t check your app’s SDK setup, adapters or ad rendering |
| Networks | Test Bidder, SDK-less partners that use CloudX’s built-in renderer, and the adapters in the test app: Meta, Mintegral, Vungle and InMobi, plus TaurusX on iOS. Other SDK networks, such as Unity Ads and Digital Turbine, can’t show an ad in the Emulator; test them on a test device |
| Ad formats | Banner, MREC, interstitial and rewarded ad units. Native and App Open ad units aren’t supported: the ad fails to load. Test them on a test device |
| Traffic type | Test traffic only. Excluded from revenue reports |
| Bid prices | Replaced by the bidder test prices. They don’t show what the bidder pays on live traffic |
| Inactive apps | Supported. An Inactive app serves test requests, including the Emulator’s |
| Changes to line items | Apply to your live configuration, and can take up to 60 seconds to reach the Emulator |