Rewarded

circle-info

There are some advertisement settings in the playgama-bridge-config.json file

Playgama Bridge Config

Rewarded ads are a type of advertisement where players have the option to watch an ad in exchange for in-game rewards

Offer players rewards in exchange for watching ads, incentivizing ad engagement and increasing ad revenue.

Is Rewarded Supported

Check if the platform supports displaying rewarded ads.

Bridge.advertisement.is_rewarded_supported

Rewarded Ad State

Monitor the state of the rewarded ad to manage the reward process.

Bridge.advertisement.rewarded_state

Returns the current state of the rewarded ad. Possible values: loading, opened, closed, rewarded, failed.

# To track rewarded ad state changes, connect to the signal
func _ready():
    Bridge.advertisement.connect("rewarded_state_changed", self, "_on_rewarded_state_changed")

func _on_rewarded_state_changed(state):
    print(state)
circle-info

React to changes in ad state. For example, mute the game sound when the state is opened and unmute when the state is closed or failed.

triangle-exclamation

Rewarded Placement

Monitor the current placement of the rewarded ad to manage the reward process.

Show Rewarded Ad

Display a rewarded ad and provide incentives to players for watching the entire ad.

Last updated