This is a new version of API available only for apps opened in an iframe. Ads API documentation for apps opened as an external page is available here
Android app provides an additional way to monetize your games in OK - in-app ads.
In-app ads work only for games that are launched in a WebView.
All ads are provided by a third-party advertiser and are user targeted. We can’t affect on ads availability for users or or on what specific ad must be shown to him.
As an addition to this we do not limit amount or frequency of ads shown anyhow. You are free to choose how many ads you want to show to a player but we do recommend not to abuse this feature.
This feature is implemented on your side by two steps:
- check if ads are available at the moment;
- show an ad to user.
Please do consider that this feature is not available on our older app versions and it is better to check methods’ availability before calling them.