9 min read

Monetization and ads

Use commercial and rewarded breaks without harming players.

Choose the right break

  1. 1.Place commercial breaks at natural transitions.
  2. 2.Require a clear player action and describe the benefit before rewarded ads.
  3. 3.Pause game logic and audio before requesting an ad.
  4. 4.Resume only after the Promise resolves.

Implementation

const ad = await D3Games.commercialBreak({ placement: "between-levels" });
const reward = await D3Games.rewardedBreak({
  placement: "revive", rewardId: "extra-life"
});
if (reward.granted) giveExtraLife();
Grant a benefit only when granted === true—never on timeout, dismissal, blocked, or unavailable results.

Policy

Do not embed an ad provider, popunder, or redirect. D3 controls eligibility, frequency, and providers. SDK telemetry cannot create earnings entries.