How cuongcds/advero-php works
Advero PHP is a dependency-light server-to-server API client, not the browser ad-display SDK. A PHP application calls its domain methods to manage publisher properties and placements, browse and quote inventory, manage wallet state, build campaigns and creatives, and retrieve reports; the client sends authenticated HTTP requests and returns decoded response data. API error envelopes become AdveroApiException instances. The domain methods and shared transport are all implemented in src/Client.php; the README documents the broader method coverage, while the excerpts show only selected methods and transport behavior.
Main entry points: Client.php HTTP transport · AdveroApiException.php API exception
Components 11
API domains
- Properties & placements
src/Client.php - Pricing plans
src/Client.php - Inventory & quotes
src/Client.php - Wallet
src/Client.php - Campaigns & creatives
src/Client.php - Reports
src/Client.php
Client runtime
- Advero Client
src/Client.php - HTTP transport
src/Client.php - API exception
src/Exception/AdveroApiException.php
Other components
- PHP application
- Advero API
Connections 9
- PHP application → Advero Client: calls methods
README.md - Properties & placements → HTTP transport: requests
src/Client.php - Pricing plans → HTTP transport: requests
README.md - Inventory & quotes → HTTP transport: requests
src/Client.php - Wallet → HTTP transport: requests
README.md - Campaigns & creatives → HTTP transport: requests
src/Client.php - Reports → HTTP transport: requests
src/Client.php - HTTP transport → Advero API: sends HTTP
src/Client.php - HTTP transport → API exception: throws on API errors
src/Client.php