How cuongcds/advero-node works
advero-node is a server-side TypeScript client for Advero’s API, authenticated with an organization API key and secret. A caller constructs the client, then uses its methods to manage publisher properties and placements, browse and quote marketplace inventory, manage wallet state, create and start campaigns, and retrieve reports. These are capabilities of one client module, not separate runtime services. The excerpts show request handling and error construction; endpoint coverage is also documented in the README. No backend implementation is included in this repository.
Main entry points: client.ts AdveroClient · errors.ts API exception · types.ts Request and response types
Components 12
API client
- AdveroClient
src/client.ts
API capabilities
- Properties and placements
src/client.ts - Pricing plans
src/client.ts - Marketplace inventory
src/client.ts - Wallet
src/client.ts - Campaigns and line items
src/client.ts - Creatives
src/client.ts - Reports
src/client.ts
Types and errors
- API exception
src/errors.ts - Request and response types
src/types.ts
Other components
- Node.js caller
- Advero API
Connections 4
- Node.js caller → AdveroClient: calls methods
README.md - AdveroClient → Advero API: sends HTTP requests
src/client.ts - AdveroClient → API exception: throws on API errors
src/client.ts - AdveroClient → Request and response types: uses types
src/client.ts