Docs
Publisher SDKs
Show Nitx ads on your website or in your app. Every SDK implements the same protocol, so slots, consent, identity and reporting behave the same on every platform.
How it works
From dashboard to first ad
- 1
Register your website or app
Add it in the Nitx Publisher dashboard to get a source code:
PUB-AM-XXXXXXfor a website,SDK-AM-XXXXXfor an app, one per platform. - 2
Create slots
Each placement is a slot with a code (
SLOT-XXXXXX) and a format: a size such as300x250on the web, or a kind such asbanner_320x50,interstitialornativein apps. - 3
Start the SDK
Start it with your source code and place your slots. The first start verifies the source in the dashboard; after that the SDK loads and renders ads on its own.
One API
The same calls on every platform
Learn it once. Names, arguments and behavior match across the SDKs; only the syntax follows each language.
Start
Once, early, with your source code.
Consent
From your own consent UI.
Identify
Normalized and hashed at once.
Forget
Wipes the visitor; asks the backend to delete it.
Screen name
Sent as context with the next requests.
Inspect
Mode, counters, consent and visitor id.
Serving
Collect-only today, personalized when you're ready
The backend switches each source to personalized serving. The SDK follows on its own: no release, no code change.
GET mode
Collect-only
- Creatives come from the public show-by-code endpoints, one request per slot.
- Nothing personal travels: no visitor id, no cookies, no query parameters.
- Consent and identity are collected on the device until personalized serving is on.
POST mode
Personalized
- One request per batch of slots, with the visitor and context blocks.
- Impression and viewable events, batched every 2 seconds.
- A 404, 405 or 501 falls back to GET mode for the rest of the page load or app process.