Floxis SDK API reference#
This page lists the public API of the Floxis SDK for Android (0.3.1) and iOS (0.3.3): the adapter classes your mediation loads, the one parameter every Floxis entry carries, the start-up call, and the error codes. Use it to look up a signature, a limit or a code. For setup steps, see the platform guides listed at the end of the page.
The SDK ships as binaries. Only the API on this page is supported. Anything in an internal package, and any class you
see in a stack trace that is not listed here, can change without notice.
Artifacts and availability#
| Artifact | Mediation | Package | Status |
|---|---|---|---|
tech.floxis:floxis-sdk | AdMob and Google Ad Manager, on play-services-ads or Next-Gen | com.floxis.sdk | Released (0.3.1) |
tech.floxis:floxis-sdk-levelplay | Unity LevelPlay | com.ironsource.adapters.custom.floxis | Released (0.3.1) |
tech.floxis:floxis-sdk-common | Shared runtime | com.floxis.sdk | Released (0.3.1). Added by the other artifacts; never add it on its own |
FloxisSDK | iOS: AdMob and Google Ad Manager | Swift package | Released (0.3.3) |
FloxisSDKLevelPlay | iOS: Unity LevelPlay | Swift package | Released (0.3.3) |
FloxisSDKCore | iOS: configuration types | Swift package | Released (0.3.3). Add it beside your ad server's product |
The iOS products come from one Swift package, https://github.com/floxis-tech/floxis-sdk-ios, version 0.3.3. Add
the product for your ad server and FloxisSDKCore. The package brings Prebid Mobile 3.4.0; your app keeps its own
Google Mobile Ads or LevelPlay SDK.
Every Android artifact above is version 0.3.1. Keep every tech.floxis artifact in an app on the same version. The
shared types (Floxis, FloxisConfig, FloxisAdError and the rest) live in floxis-sdk-common, in the
com.floxis.sdk package, and every other Android artifact brings it in. Each artifact also brings Prebid Mobile 3.4.1,
which builds the auction request. Your app keeps its own ad server or mediation SDK: floxis-sdk works with the
play-services-ads 25.5.0 or newer, or the Next-Gen ads-mobile-sdk 1.5.0 or newer, that your app already has.
Each Android release on maven.floxis.tech also has a Javadoc jar next to the AAR. There is no sources jar.
How the adapters work#
Every Floxis adapter is an ordinary mediation network adapter. You never load ads through Floxis classes: your mediation calls the adapter when its waterfall reaches a Floxis entry.
- Your mediation (an AdMob mediation group, an Ad Manager yield group or a LevelPlay waterfall) reaches a Floxis entry at the eCPM you gave it.
- The adapter reads the entry's parameter. The first Floxis entry the waterfall reaches for an ad request runs one
Floxis auction, with the lowest Floxis floor of the ad unit (
min) as its floor, and holds the answer for that ad unit for up to 10 seconds. - Each Floxis entry serves the held bid only if it pays at least that entry's
floor. A served bid is used once. Otherwise the entry reports a no-fill straight away and your mediation moves on.
Nothing runs before your ad server, and Floxis never serves below an entry's floor, nor below the Default bid floor
saved on your endpoint.
The entry parameter#
Every Floxis entry carries one parameter. Copy it from your endpoint's Mediation entries panel; never write it by hand.
{ "configId": "home_banner", "floor": "1.50", "min": "0.55" }| Key | Required | Rule |
|---|---|---|
configId | Yes | Your name for the ad unit, for example home_banner. Trimmed, 1 to 128 characters. Floxis reports by it, so keep it the same across app versions. |
floor | Yes | This entry's eCPM in USD, on the publisher-net basis. From 0.01 to 1000.00, at most 2 decimals, as a JSON string or number. There is never a default. |
min | No | The lowest floor among the ad unit's Floxis entries, in the same format. If it is absent or blank it equals floor. It must not be above floor. |
- Unknown keys are ignored.
- A missing or invalid
configIdorfloor, or aminabovefloor, fails the load withINVALID_PARAMETER(101) and makes no network call. So does a parameter from an SDK version before 0.3.0. - The one rule you can break: the
floorin the parameter must equal the eCPM you typed for that entry in your ad server, in USD. No ad server tells the adapter the eCPM you typed, so the adapter trusts the parameter. If your ad server account uses another currency, type the eCPM converted into that currency and keep the parameter as the panel shows it.
Where each mediation carries it:
| Mediation | Field | Read by the adapter as |
|---|---|---|
| AdMob | Custom event Parameter | MediationConfiguration.CUSTOM_EVENT_SERVER_PARAMETER_FIELD (Android), parameter (iOS) |
| Google Ad Manager | Yield partner Parameter (Other company, Custom event) | Same as AdMob |
| Unity LevelPlay | Three instance keys: configId, floor, min | LevelPlay's instance settings |
Conventions#
Language and Java callers#
Android signatures are written in Kotlin. Every class works from Java:
- A parameter with a default value is optional in Kotlin. Java gets one overload per optional parameter, dropping them from the end. To set a later optional parameter from Java, pass every one before it.
Floxismethods are static in Java:Floxis.initialize(...).- Constants are static fields in Java:
FloxisConfig.DEFAULT_TIMEOUT_MS,FloxisAdError.BELOW_FLOOR. - Interfaces marked
fun interfacetake a Kotlin lambda or a Java lambda.
Errors#
- Bad arguments throw.
FloxisConfigthrowsIllegalArgumentExceptionfor a bad seat, region or timeout, or a blankstoreUrl. On iOS,FloxisConfiguration.initthrowsFloxisConfigurationError. - Loads never throw. Every adapter load ends in exactly one callback to your mediation: a fill, or a failure that
carries a
FloxisAdErrorcode (see Error codes). Your mediation then moves on as it does for any network.
Threads#
| Call or callback | Thread |
|---|---|
Floxis.initialize, setEnabled, setPersonalizedAds | Any thread. |
FloxisInitListener | Main thread. |
| Adapter loads and shows | Called by your mediation SDK on its own threads. The adapter runs the auction on the main thread. |
| Your mediation's own ad listeners (load, impression, click, reward) | As your mediation SDK delivers them. On Next-Gen, Google's background thread. |
iOS: Floxis | @MainActor. Call from the main actor; completions run there. |
R8 and ProGuard#
Each AAR ships its own consumer rules, which keep every adapter class your mediation loads by name. You do not add any keep rules for Floxis. Release AARs are minified: public names are kept and everything else is renamed. Line numbers are kept, so your crash reports still show where a Floxis frame was.
Not part of the API#
- Classes named
BuildConfigin any Floxis package. UseFloxis.SDK_VERSION(Android) orFloxis.sdkVersion(iOS). - Anything under
com.floxis.sdk.internal. - Any other type you find in the binaries that this page does not list.
Android: shared runtime#
Package com.floxis.sdk. These types come with floxis-sdk and floxis-sdk-levelplay. An app that
combines several of these artifacts has one runtime: one Floxis.initialize call, with one seat and region, configures
all of them. The LevelPlay adapter takes its seat, region and timeout from its LevelPlay network keys instead (see the
LevelPlay section).
Floxis#
public object Floxis. The SDK entry point.
| Member | Description |
|---|---|
const val SDK_VERSION: String | The Floxis SDK version, for example "0.3.1". |
fun initialize(context: Context, config: FloxisConfig, listener: FloxisInitListener? = null) | Starts Floxis. See below. |
fun setEnabled(enabled: Boolean) | Kill switch at runtime. false makes every later Floxis entry report DISABLED (201) without an auction, and refuses to show a loaded Floxis ad. true after an initialize with enabled = false starts Floxis then. |
fun isEnabled(): Boolean | The current kill-switch state. |
fun setPersonalizedAds(allowed: Boolean) | false makes every later Floxis entry report NO_CONSENT (202) without an auction, and refuses to show a loaded Floxis ad. Call it whenever consent changes. |
fun isInitialized(): Boolean | true once a config is set and the auction client is ready. |
fun auctionUrl(): String? | The auction URL for the current config, https://<region>.floxis.tech/pbm/openrtb2/auction?seat=<seat>, or null before initialize. |
setPersonalizedAds changes only Floxis. The SDK no longer touches your ad server's own request, so set Google's own
non-personalised setting yourself (see SDK privacy and consent).
initialize
- Call it in
Application.onCreate, after your consent tool has its stored result, and before you start your ad server or mediation SDK (MobileAds.initialize). It starts Prebid Mobile then, so the first Floxis entries do not miss their first ad requests. - The adapters never fail their own initialisation. Until
initializehas run, each Floxis load reportsNOT_INITIALIZED(203) and your mediation moves on. - It is safe to call more than once and from any thread. A later call replaces the config used by later auctions.
listeneris always called, on the main thread, with the result.- With
config.enabled = falseit reportsDISABLEDand starts nothing. - If start-up fails, the next ad load retries it, at most once every 30 seconds. Until it succeeds, Floxis entries
report
NOT_INITIALIZED. - Start-up gives up and reports
FAILEDafter 12 seconds without an answer. - If the app also runs the LevelPlay adapter with a different seat or region,
initializereportsFAILEDwith "Floxis already configured for another seat or region".
class App : Application() {
override fun onCreate() {
super.onCreate()
Floxis.initialize(
applicationContext,
FloxisConfig(seat = "YOUR_SEAT", region = "us-e", timeoutMs = 1500),
) { status, description -> Log.d("Floxis", "init $status $description") }
MobileAds.initialize(this)
}
}public class App extends Application {
@Override public void onCreate() {
super.onCreate();
Floxis.initialize(getApplicationContext(), new FloxisConfig("YOUR_SEAT", "us-e", 1500),
(status, description) -> Log.d("Floxis", "init " + status + " " + description));
MobileAds.initialize(this);
}
}FloxisInitListener and FloxisInitStatus#
public fun interface FloxisInitListener {
public fun onInitialized(status: FloxisInitStatus, description: String?)
}FloxisInitStatus | Meaning |
|---|---|
SUCCEEDED | Ready. Floxis entries run auctions from now on. |
SERVER_STATUS_WARNING | Ready, but the start-up status check did not answer cleanly. Auctions still run. |
FAILED | Not ready. description says why. The next ad load retries, at most every 30 seconds. |
DISABLED | FloxisConfig.enabled was false. Nothing started. |
FloxisConfig#
public class FloxisConfig. Settings passed to Floxis.initialize. Every field is read-only after construction.
| Parameter, in order | Type | Default | Description |
|---|---|---|---|
seat | String | required | Your seat, from the endpoint's Mediation entries panel. 1 to 128 characters of A-Z a-z 0-9 . _ -. |
region | String | "us-e" | The auction region from the same panel. A lowercase host label. |
timeoutMs | Int | 1500 | The longest a Floxis entry waits for its auction before it reports TIMEOUT (206) and your mediation moves on. 200 to 10,000. |
debug | Boolean | false | Writes debug lines under the logcat tag Floxis and raises Prebid's log level. It never changes what is sent. Warnings are logged whatever this says. |
enabled | Boolean | true | Kill switch at start-up. Same as Floxis.setEnabled. |
personalizedAds | Boolean | true | Same as Floxis.setPersonalizedAds. |
testMode | Boolean | false | Marks auctions as test traffic. Takes effect only in a debuggable build. A release build ignores it and logs FLX-105. |
storeUrl | String? | null | The app's store URL. If null, the SDK uses Prebid's store URL, then the Google Play page for your package. Must not be blank. |
shareLocation | Boolean | true | Sends the device's last known location when the app already holds a location permission. Withheld for child-directed requests, when GDPR applies without consent to precise geolocation (TCF special feature 1) or consent for Floxis (vendor 1609), and after a US Privacy or GPP US opt-out. The SDK never asks for a permission. |
| Constant | Value |
|---|---|
FloxisConfig.DEFAULT_REGION | "us-e" |
FloxisConfig.DEFAULT_TIMEOUT_MS | 1500 |
FloxisConfig.MIN_TIMEOUT_MS | 200 |
FloxisConfig.MAX_TIMEOUT_MS | 10000 |
val config = FloxisConfig(
seat = "YOUR_SEAT",
region = "us-e",
timeoutMs = 1500,
debug = BuildConfig.DEBUG,
testMode = BuildConfig.DEBUG,
)From Java there is no builder: pass the parameters in order, for example
new FloxisConfig("YOUR_SEAT", "us-e", 1500, true, true, true, true) for seat, region, timeout, debug, enabled,
personalizedAds and testMode.
FloxisAdError#
public class FloxisAdError. Why a Floxis load or show did not serve. Each adapter hands it to your mediation in that
mediation's own error type (see Error codes).
| Member | Description |
|---|---|
val code: Int | One of the codes below. |
val message: String | A short reason, for example the entry floor. |
val domain: String | Always FloxisAdError.DOMAIN, "tech.floxis.sdk". |
The codes are constants on FloxisAdError, and the same numbers are used on iOS:
| Constant | Code | Meaning |
|---|---|---|
INVALID_PARAMETER | 101 | The entry's parameter is missing, invalid or from an older SDK, or no supported banner size fits. |
CONFIG_MISMATCH | 102 | Two Floxis setups in the app use different seats or regions (for example LevelPlay's keys and Floxis.initialize). |
DISABLED | 201 | Floxis is switched off (enabled = false or setEnabled(false)). No auction ran. |
NO_CONSENT | 202 | Personalised ads are off, or your mediation reported that the user did not consent. No auction ran. |
NOT_INITIALIZED | 203 | Floxis.initialize has not run, or start-up has not finished or failed. No auction ran. |
NO_FILL | 204 | No buyer bid, or another Floxis entry of the same ad request already served the bid. |
BELOW_FLOOR | 205 | Floxis has a bid, but it pays less than this entry's floor. A lower Floxis entry may still serve it. |
TIMEOUT | 206 | No answer within timeoutMs. |
POLICY_CHANGED | 207 | Floxis was disabled or personalised ads were turned off during the auction or before the show. |
NETWORK | 208 | The device could not reach Floxis. |
SERVER | 209 | Floxis answered with an error. |
RENDER_FAILED | 301 | The ad could not be rendered. |
INTERNAL | 302 | An unexpected failure, for example a full-screen show without an Activity. The message says what. |
EXPIRED | 401 | The bid expired before the show (the bid's own expiry, 5 minutes by default). |
ALREADY_SHOWN | 402 | This ad was already shown. |
NOT_READY | 403 | The ad is not loaded, or was destroyed. |
Android: AdMob and Google Ad Manager (floxis-sdk)#
com.floxis.sdk.FloxisMediationAdapter, a Google Mobile Ads mediation adapter. One class serves every format, in
AdMob waterfall custom events and in Ad Manager yield groups ("Other company", Integration type Custom event), on
the classic play-services-ads 25.5.0 or newer and on the Next-Gen ads-mobile-sdk 1.5.0 or newer. The app brings one
of the two Google SDKs; floxis-sdk does not add either. Minimum Android SDK 24; compile against API 35.
public class FloxisMediationAdapter : com.google.android.gms.ads.mediation.Adapter| Member | What Google Mobile Ads uses it for |
|---|---|
initialize(...) | Always reports success. It never runs an auction. |
getVersionInfo() | The adapter version, equal to Floxis.SDK_VERSION. |
getSDKVersionInfo() | The Floxis SDK version. |
loadBannerAd(...) | Banner. A standard size (320x50, 320x100, 300x250, 468x60, 728x90, 160x600) is bid as it is; an adaptive or other size bids 728x90 when the slot is at least 728 dp wide, otherwise 320x50. A slot narrower than 320 dp fails with INVALID_PARAMETER. |
loadInterstitialAd(...) | Interstitial: display and video compete in one auction. |
loadRewardedAd(...) | Rewarded video. The reward is reported once per show. |
- Errors reach Google as
AdError(code, message, "tech.floxis.sdk")with the codes above. Ad Inspector shows them on the Floxis entry. - The child-directed tag Google hands the adapter is sent to the auction as
regs.coppa. If you set Prebid Mobile's own COPPA flag totrue, that wins over a Google tag offalse. - A full-screen ad shows in the Activity Google passes to
show. Banner refresh is your ad unit's: each refresh is a new ad request that reaches the Floxis entries again. - Never instantiate the class yourself. Google loads it by name from the class name in the custom event or yield partner.
Android: Unity LevelPlay (floxis-sdk-levelplay)#
A LevelPlay custom network adapter. You never call it: LevelPlay loads its classes once you add the Floxis custom
network with the network key your account manager gives you. Add com.unity3d.ads-mediation:mediation-sdk 9.6.1 and
org.jetbrains.kotlinx:kotlinx-coroutines-android 1.10.1 to your app. The adapter is built on floxis-sdk-common and
exposes it and Prebid Mobile 3.4.1 as API dependencies, so your code can call TargetingParams without adding Prebid
Mobile.
Classes LevelPlay loads#
| Role | Class | Base class |
|---|---|---|
| Network adapter | com.ironsource.adapters.custom.floxis.FloxisCustomAdapter | LevelPlayBaseAdapter |
| Banner | com.ironsource.adapters.custom.floxis.FloxisCustomBanner | LevelPlayBaseBanner |
| Interstitial | com.ironsource.adapters.custom.floxis.FloxisCustomInterstitial | LevelPlayBaseInterstitial |
| Rewarded video | com.ironsource.adapters.custom.floxis.FloxisCustomRewardedVideo | LevelPlayBaseRewardedVideo |
FloxisCustomAdapter.getAdapterVersion() returns the Floxis SDK version and getNetworkSDKVersion() returns the
Prebid Mobile version. LevelPlay shows both in its tools.
Network keys#
The network name is Floxis. LevelPlay has no free-text parameter, so the entry's parameter is split into three instance keys.
| Key | Level | Default | Rule |
|---|---|---|---|
seat | App | required | 1 to 128 characters of A-Z a-z 0-9 . _ - |
region | App | us-e | A lowercase host label |
timeoutMs | App | 1500 | Whole number, 200 to 10,000 |
configId | Instance | required | As configId in the entry parameter |
floor | Instance | required | As floor in the entry parameter. Equal to the instance's Rate, in USD. |
min | Instance | floor | As min in the entry parameter |
Type plain values, without quotes or units. Use the same seat and region as any other Floxis artifact in the app. A LevelPlay rate set on a group or a country does not reach the adapter; set the Rate on each Floxis instance.
Behaviour#
- Formats. Banner at the size LevelPlay asks for (an adaptive or smart banner bids 728x90 when the slot is at least 728 dp wide, otherwise 320x50; LevelPlay drives refresh), interstitial and rewarded video.
- Consent. No auction runs after
LevelPlay.setConsent(false), when GDPR applies without a TC string, Purpose 1 consent or consent for Floxis (vendor 1609), after a US Privacy opt-out, or when an applicable GPP US section records an opt-out of sale, sharing or targeted advertising. LevelPlay does not pass its CCPA or COPPA settings to custom networks, so the adapter reads the IAB keys your consent tool writes. COPPA does not block the auction: setTargetingParams.setSubjectToCOPPA(true)and it is sent with the request. - Signals. Every auction carries the device and session signals described in SDK privacy and consent. The adapter shares one session with the other Floxis artifacts in the app.
- Location. Never sent.
- Expiry. A loaded ad is refused at show after its bid expires (300 seconds unless the bid says otherwise) or consent is withdrawn.
- Rewards. The reward and the close are each reported once.
Load and init failures#
LevelPlay receives the Floxis code in the error message:
| Floxis code | LevelPlay error |
|---|---|
| 201 to 209 | No fill (10001). LevelPlay moves on. |
101 (for example a missing floor) | ADAPTER_ERROR_MISSING_PARAMS |
| 102, 301, 302 | ADAPTER_ERROR_INTERNAL |
| 401 at show | ADAPTER_ERROR_AD_EXPIRED; any other show failure is ADAPTER_ERROR_INTERNAL |
iOS (FloxisSDK, FloxisSDKLevelPlay, FloxisSDKCore)#
The Swift package https://github.com/floxis-tech/floxis-sdk-ios has three products. FloxisSDKCore holds
configuration and value types with no dependencies. FloxisSDK (AdMob and Ad Manager) and
FloxisSDKLevelPlay (Unity LevelPlay) each hold one adapter and the shared runtime, and each import gives your
code Floxis. The package brings Prebid Mobile 3.4.0 and no ad server SDK: your app links Google Mobile Ads 13.8.0
or a newer 13.x, or Unity LevelPlay 9.6.1 or newer. iOS 15.0 or newer, Xcode 26.2
or newer. The adapters follow the same contract as Android:
| Android | iOS |
|---|---|
com.floxis.sdk.FloxisMediationAdapter | FloxisMediationAdapter (the Objective-C class name, with no module prefix), for AdMob custom events and Ad Manager yield groups |
com.ironsource.adapters.custom.floxis.* | ISFloxisCustomAdapter, ISFloxisCustomBanner, ISFloxisCustomInterstitial, ISFloxisCustomRewardedVideo, loaded by LevelPlay |
| Entry parameter | The same JSON, read from the custom event's parameter |
FloxisAdError, domain tech.floxis.sdk | NSError with domain tech.floxis.sdk and the same codes |
Floxis.initialize(context, FloxisConfig(...)) | Floxis.shared.initialize(try FloxisConfiguration(...)) { status, detail in }, before Google Mobile Ads starts; LevelPlay's app keys start it |
import FloxisSDK
import FloxisSDKCore
let configuration = try FloxisConfiguration(seat: "YOUR_SEAT", region: "us-e")
Floxis.shared.initialize(configuration) { status, detail in
print("Floxis init: \(status) \(detail ?? "")")
}FloxisConfiguration (FloxisSDKCore)#
public init(seat: String, region: String = "us-e", timeoutMs: Int = 1_500, debug: Bool = false,
testMode: Bool = false, enabled: Bool = true, personalizedAds: Bool = true,
storeURL: URL? = nil, shareLocation: Bool = true) throwsThe fields match Android's FloxisConfig, with these differences:
storeURLmust be anhttpsURL with a host, for examplehttps://apps.apple.com/app/id123456789.debugwritesFloxis <code> <message>lines to the Xcode console.testModetakes effect only in the Simulator or in a build signed with a development profile. App Store, TestFlight, ad hoc and enterprise builds ignore it and reportFLX-105.regionmust beus-e,euorapac.shareLocationsends a location only when the app already has location authorization, under the same rules as Android.
The initializer throws FloxisConfigurationError: .invalidSeat, .invalidRegion, .invalidTimeout or
.invalidStoreURL.
FloxisInitializationStatus | Meaning |
|---|---|
.succeeded | Ready. |
.failed | Not ready. The detail says why. A later ad load retries, at most every 30 seconds. |
.disabled | enabled was false. Nothing started; Floxis.shared.setEnabled(true) starts it. |
The other members of Floxis.shared: setEnabled(_:), setPersonalizedAds(_:), setVideoAudioMuted(_:) (whether
your video ads play muted, nil when unknown), auctionURL(), the read-only configuration, isInitialized,
isEnabled, personalizedAds and testAuctions, and onDiagnostic, a closure that receives every
FloxisDiagnostic (code, message). Floxis.sdkVersion is the SDK version.
A second initialize with a different seat or region reports .failed with "Floxis is already configured for another
seat or region".
Unity LevelPlay on iOS (FloxisSDKLevelPlay)#
LevelPlay loads ISFloxisCustomAdapter, ISFloxisCustomBanner, ISFloxisCustomInterstitial and
ISFloxisCustomRewardedVideo once you add the Floxis custom network with the network key your account manager gives
you; you never call them. The network keys are the Android ones, except that region must be us-e, eu or apac.
There is no Floxis.initialize to call: the app keys start Floxis, and a Floxis.shared.initialize with another seat
or region fails each load with 102. No auction runs after LevelPlay.setConsent(false), or
when the device-signal consent check in SDK privacy and consent fails. A smart banner bids 728x90 on screens wider
than 720 points, otherwise 320x50.
| Floxis code | LevelPlay error |
|---|---|
| 201 to 209 | No fill (10001) |
| 101 | ISAdapterErrorMissingParams |
| 102, 301, 302 | ISAdapterErrorInternal |
| 401 at show | ISAdapterErrorAdExpired; any other show failure is ISAdapterErrorInternal |
Log and diagnostic codes#
Android logs under the logcat tag Floxis (adb logcat -s Floxis). Warnings always log; debug lines log only with
debug = true. iOS sends every code to Floxis.shared.onDiagnostic, and to the console with debug: true.
| Code | Level | Meaning |
|---|---|---|
FLX-100 | debug | Android: start-up began. Shows the auction and status URLs for your seat. |
FLX-101 | debug | Start-up finished. Look for SUCCEEDED. |
FLX-102 | warning | Android: disabled by config. Nothing started. |
FLX-103 | warning | Start-up threw an error, or a second setup in the app used another seat or region. |
FLX-104 | warning | Android: retrying a failed start-up. |
FLX-105 | warning | testMode ignored: not a debuggable build. |
FLX-200 | debug | Android: an auction finished, or a held bid was below an entry's floor. |
FLX-201 | debug | Auction skipped (disabled, personalised ads off or not initialised). |
FLX-202 | warning | iOS: a full-screen show was refused because the bid expired (401). |
FLX-203 | warning | Auction failed. |
FLX-204 | debug | iOS: a held bid was below an entry's floor (205). |
FLX-400 | warning | A full-screen show was refused, or on iOS a Floxis banner was hidden after setEnabled(false) or setPersonalizedAds(false). |
Unity LevelPlay has no log tag. Its results arrive as LevelPlay callback messages (see the LevelPlay section).
Platform differences#
| Topic | Android | iOS |
|---|---|---|
| Config type | FloxisConfig (throws IllegalArgumentException) | FloxisConfiguration (throws FloxisConfigurationError) |
| Re-initialise with another seat | Replaces the config (fails only against LevelPlay's keys) | Fails with .failed |
| Mediations | AdMob, Ad Manager, LevelPlay | AdMob, Ad Manager, LevelPlay |
| Error type | FloxisAdError, mapped into each mediation's error | NSError, same domain and codes |
| Child-directed tag | Google's tag or Prebid's COPPA flag | Google's child-directed setting, or Prebid's COPPA flag |
| Location on child-directed requests | Withheld | Withheld |
| Session reset after 30 idle minutes | Yes | Yes |
| Device signals on the request | user.ext.floxis.device, moved to device.ext by the exchange | device.ext |
Related guides#
- In-app SDK (Android, AdMob and Ad Manager): AdMob and Google Ad Manager with
floxis-sdk, on the classic or Next-Gen Google SDK. - In-app SDK (iOS, AdMob and Ad Manager): AdMob and Google Ad Manager with the Swift package.
- In-app SDK (Google Ad Manager) and In-app SDK (Unity LevelPlay): setup for each mediation.
- SDK privacy and consent: what the SDK reads and sends, and when.
- SDK testing and troubleshooting: test mode, logs, error codes and common problems.
- SDK release notes: what changed in each version.