It is used to identify the user for rewarding them upon completion of the rewarded video.
ONEAdMax.setUserId(userId);
Each user must have a unique user identifier, which should not be a variable value.
It must not include personal information such as email, name, phone number, or identifiable user IDs.
If it contains Korean characters, special characters, or spaces, it must be URL encoded before use.
The user identifier must be set before the user enters the ad.
Creating a Rewarded Video Ad Instance
_oamReward =OAMReward()
Reward Video Load
You can request the rewarded video ad from the server by calling the Load() API.The parameters are placementId, networkTimeout, and RewardCallBackListener.
Excessive calls to the load() API may result in being blocked.
Setting the Network Timeout for Rewarded Video Ad Request
Set the network timeout for the rewarded video ad request. When loading the rewarded video ad, a timeout is given for each ad network (mediation provider). If the ad is not received within the specified timeout, the request will move on to the next ad network.
보상형 비디오 광고 이벤트 리스너
To set up an event listener for the rewarded video ad, you can use the following approach: