First banner in under 10 lines.
- Create an account and register your Store app.
- After approval, create an ad unit in a supported size.
- Install
WinMonetize.SDK, initialize it, and add the control.
WinMonetize.Initialize("wm_your_api_key");
<wm:BannerAdView AdUnitId="42"
AdSize="Leaderboard"
RefreshIntervalSeconds="45" />SDK reference
| Member | Purpose |
|---|---|
Initialize(apiKey) | Sets credentials and the production base URL. |
BannerAdView | Loads, renders, refreshes, and measures a banner. |
AdLoaded / AdFailed / AdClicked | Safe host-app lifecycle events. |
REST API
SDK and reporting calls use Authorization: Bearer wm_…. The full OpenAPI contract is included with the source.
POST /api/v1/ad/request
POST /api/v1/ad/impression
POST /api/v1/ad/click
GET /api/v1/reports/revenue
GET /api/v1/reports/campaignSandbox mode
Set WinMonetize.SandboxMode = true to receive labeled placeholders without billable events while approval is pending.