Docs/SDKs

SDK reference

Nine native SDKs, one versioned wire contract. Every package below implements the same request → render → report lifecycle with identical guarantees — pick your platform.

PlatformPackageLanguageDistribution
Web (Browser)@theaimart/adx-webTypeScriptnpm / CDNDocs
Node.js (server)@theaimart/adx-nodeTypeScriptnpmDocs
Pythontheaimart-adxPython 3.8+PyPIDocs
Rust (server)theaimart-adxRustcrates.ioDocs
React Native@theaimart/adx-react-nativeTypeScriptnpmDocs
Android (Kotlin)co.theaimart.adx:adx-androidKotlinMaven CentralDocs
iOS (Swift)TheaimartAdxSwiftSwiftPM / CocoaPodsDocs
Flutter (Dart)theaimart_adxDartpub.devDocs
Unity (C#)co.theaimart.adxC#UPM (git URL)Docs

Legacy web tags

Prefer zero-build drop-in tags over the npm package? adx.js and the low-bandwidth adx-lite.js serve the same contract as a plain <script> include — see the developer overview for those snippets.

Shared guarantees

Every SDK in the table above is generated from and tested against the same wire contract, so switching platforms never changes your mental model:

  • Identical filled / kind / source / isTrackable normalized result shape.
  • WAF-safe encoding of every free-text parameter.
  • A platform-tagged, fraud-safe User-Agent by default.
  • Fail-closed rendering — network errors, timeouts and non-200s all collapse to no-fill, never a crash.
  • Creatives render only inside a sandboxed iframe/WebView — see the security model.

Which SDK do I need?

  • WebsiteWeb (npm) or the drop-in adx.js tag.
  • Server-rendered pages / server-to-serverNode, Python or Rust.
  • Cross-platform appReact Native or Flutter.
  • Native appAndroid or iOS.
  • GameUnity.
  • Already on Prebid / another exchange — skip the SDK and connect via the inbound OpenRTB 2.5 endpoint from the publisher dashboard instead.