Rewarded

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.

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

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.

Reward the player only when the state is rewarded.

Show Rewarded Ad

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

Bridge.advertisement.show_rewarded()

Last updated