Taro.createRewardedVideoAd(option)
Creates a rewarded video ad component.
Type
(option: Option) => RewardedVideoAd
Parameters
Option
Property | Type | Default | Required | Description |
---|---|---|---|---|
adUnitId | string | Yes | Ad unit ID | |
multiton | boolean | false | No | Specifies whether to enable multi-instance mode. |
API Support
API | WeChat Mini-Program | H5 | React Native |
---|---|---|---|
Taro.createRewardedVideoAd | ✔️ |