Overwolf Ad View
In order for your app to be able to display Ads, we first have to set up our backend to support your app's uid.
Please contact us for further details here.
Until then, you can test how Ads would look and behave in your app, by passing in the --test-ad
commandline argument.
To enable ads for users in areas with more strict data collection regulations, it is also required to fully follow our CMP Implementation Guidelines.
The <owadview/>
tag, which is based on the Electron <webview/>
tag, automatically hosts and manages ads in your app.
To use it, place the <owadview/>
tag (no attributes required) inside a <div>
tag, with the size of the standard IAB Ad unit you wish to display.
For more information about supported ad units + General Ads guidelines, visit Working with Ads.
<div style="width: 400px; height: 300px; background: transparent;">
<owadview />
</div>
We use background: transparent
, in order to allow your app to show a background image as a fallback when there is no ads inventory to display.
Other things to keep in mind:
- The
<owadview/>
tag starts muted by default. This can be changed. - The
<owadview/>
tag is automatically managed, so it will already handle any issues involving ad visibility or crashes.