Features
NotPixel SDK comes with powerful features to help you integrate contextual ads efficiently.
Core Features
- Caching — In-memory cache with TTL to reduce API calls
- Analytics Hooks — Monitor ad fetching in real-time
- Batch Ads — Fetch multiple ads in parallel
- Request Deduplication — Parallel requests share a single API call
- Prefetch — Pre-load ads before they’re needed
- Ad Expiration — 60-minute expiration for fresh ads
Network & Reliability
- HTTP Client — Configurable timeout, retries with exponential backoff
Privacy & Testing
- Privacy Modes — Control what data is sent to the API
- Mock Mode — Test without hitting the API
Client-Side
- Browser Tracking — Lightweight library for impressions, clicks, and conversions