KaiAds SDK
This page documents stuff about KaiAds SDK.
call Options
Ad.call is a function you can use to interact and manipulate the advert. Here is a list of what you can pass onto the call function.
| Option | Action | Notes |
|---|---|---|
| display | Display the advert. | Second parameter is an object. See KaiAds SDK ยง Usage // Responsive Ad |
| click | Open the advert. | Don't call this too soon after calling display. source |
Fullscreen Adverts
Broken CSS bottom property
Calling a fullscreen advertisement may break elements that are positioned using the CSS bottom property, most notably, the bottom navigation bar. Please use alternatives instead. Examples include:
element { top: calc(100vh - 30px); } /* replace 30px with the height of the element */ element { top: 100vh; transform: translateY(-100%); }
See also
page revision: 6, last edited: 05 Mar 2021 07:40

