Releases: potatojam/defold-ads-wrapper
Releases · potatojam/defold-ads-wrapper
1.4.0 Added the ability to pass parameters to networks
It is possible to pass custom parameters to many functions and use them in custom networks.
There were also some minor changes in the types
Add IronSource mediation
- IronSource mediation added as one of the services
1.2.4 Listener for GameDistribution
You can set a listener that will receive all messages from GD
1.2.3 More banner options for GameDistribution banners
Now it is possible not to add a banner wrapper
1.2.2 Display property for GameDistribution banners
You can set the display
property when displaying banners
1.2.1 Multiple banners for GameDistribution
Now you can show multiple banners at the same time.
1.2.0 GameDistribution network and new types
Added support for GameDistribution
It use next extension: https://github.com/GameDistribution/gd-defold
The types for function parameters have been updated.
1.1.3 Removed sitelock from Yandex network
Removed automatic sitelock
1.1.2 Yandex CSS styles
Added the ability to set css styles when creating, showing and hiding banners.
local yandex_net_id = ads_wrapper.register_network(yandex, {
[ads_wrapper.T_BANNER] = {
id = "[your id here]",
size = {width = "100vw", height = "56vh"},
position = {x = "0px", y = "0px"},
css_styles = "position: static;align-items: center;justify-content: center;overflow: hidden;display: flex;",
css_hide = "position: static;align-items: center;justify-content: center;overflow: hidden;display: none;",
css_show = "position: relative;align-items: center;justify-content: center;overflow: hidden;display: flex;"
}
})
1.1.1 Added the ability to cancel the execution of the queue.
Added ads_wrapper.cancel(id) function.
The following functions return id to cancel:
- ads_wrapper.load_rewarded
- ads_wrapper.show_rewarded
- ads_wrapper.load_interstitial
- ads_wrapper.show_interstitial
- ads_wrapper.load_banner
- ads_wrapper.show_banner