SDK docs

Testing toolkit

Use the same public SDK on localhost, during review, and after launch. PlayKovo changes delivery behind the SDK; your game code stays the same.

Local test flow

  • Add the official SDK script to index.html, then serve the game from localhost.
  • Call init once as the game boots and confirm getStatus().localPreview is true.
  • Call each placement once; a labeled PlayKovo local preview appears instead of a real advertisement.
  • For rewarded previews, grant the item only after the developer clicks Complete preview and reward.

Where delivery is decided

Localhost and external development builds show the platform-owned mock overlay immediately and do not contact PlayKovo. When the same build runs in the PlayKovo player, the game's admin settings decide test delivery, live delivery, cooldowns, or unavailable. No provider key or per-engine package is added to the game.

JavaScript
const result = await window.PlayKovoSDK.showRewarded({
  placement: "continue_run",
  onReward: grantContinue,
  onError: keepGameOverScreen,
});

console.log(result.status); // rewarded or unavailable

Checklist

  • Test desktop and mobile layouts.
  • Reload the iframe while the game is open.
  • Test slow or offline network behavior.
  • Click the same reward action twice quickly.
  • In the PlayKovo player, switch to another tab and back: the game pauses and resumes without a jump in time.
  • During a local mock ad the game is paused and silent, and continues after it closes.
  • Confirm no reward is granted when the result is unavailable.
  • Confirm gameplay continues when the global kill switch or per-game ads are disabled.

Need help

Include your game slug, placement ID, browser, and a short reproduction sequence when you contact PlayKovo support.

We use optional cookies for site analytics and site advertising. You can change your choice later. Privacy policy.