# RewardedVideoAd wx.createRewardedVideoAd(Object object)
Start from base library version 2.0.4. Please remaining backward compatible.
with Promise style call: Not supported
Mini Program plugin: Support, need to Mini Program base library version no less than 2.8.1
Create motivational video advertising components. Please pass. wx.getSystemInfoSync() Returns the object SDKVersion After determining the base library version number, use the API (Little Mini game Side Requirements >= 2.0.4, Mini Program side requirements >= 2.6.0)。 Call this method to create an incentive video ad is a singleton (small game side is global singleton, Mini Program side is the page single, in Mini Program end singleton object is not allowed across the page).
# parameter
# Object object
attribute | type | Default values | Required | Introductions | Minimum version |
---|---|---|---|---|---|
adUnitId | string | yes | Advertising unit id | ||
multiton | boolean | no | Enable multi-instance mode, default is false | 2.8.0 |
# Return value
# RewardedVideoAd
Inspiring Video Advertising Component