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)
Reward the player only when the state is rewarded.
Rewarded Placement
Monitor the current placement of the rewarded ad to manage the reward process.
Bridge.advertisement.rewarded_placement
Show Rewarded Ad
Display a rewarded ad and provide incentives to players for watching the entire ad.
var placement = "test_placement" # optional
Bridge.advertisement.show_rewarded(placement)
Last updated