QUICKSTART

First banner in under 10 lines.

  1. Create an account and register your Store app.
  2. After approval, create an ad unit in a supported size.
  3. 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

MemberPurpose
Initialize(apiKey)Sets credentials and the production base URL.
BannerAdViewLoads, renders, refreshes, and measures a banner.
AdLoaded / AdFailed / AdClickedSafe 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/campaign

Sandbox mode

Set WinMonetize.SandboxMode = true to receive labeled placeholders without billable events while approval is pending.