Self-rendering Draw: The scene should be displayed interspersed with the application content in the application content stream, and the Draw information stream advertisement is displayed in full screen by default.
Supported ad size: vertical video (aspect ratio 16:9)
**Self-rendering Draw video ads: ** Reclaimed and no longer available for creation
Self-rendering Draw information flow ads use the BUNativeAdsManager object to call loadAdDataWithCount: to request ads, and obtain ad-related materials by setting BUNativeAdsManagerDelegate, BUVideoAdViewDelegate, BUNativeAdDelegate agents , And click callbacks.
The usage of self-rendering Draw video information stream ads and self-rendering information stream ads are basically the same. The difference is that Draw video information stream adds support for pause playback of the video, and sets the icon style and size of the incon interface**. For details, please refer to * BUVideoAdView*.
The advertisement slot object must be passed in when requesting an advertisement, and the advertisement slot ID and the basic advertisement configuration BUAdSlot must be passed in when the advertisement slot object is created.
Field name | Field definition | Field type | Remarks |
BUAdSlot | / | / | Basic configuration |
slotID | Code bit | NSString | Code bit ID |
Use BUAdSlot to create basic advertising information, use BUNativeAdsManager to call loadAdDataWithCount: to request ads
The detailed access method can refer to the BUDDrawVideoViewController class in demo for corresponding docking processing
Draw video information stream ads can be set in the videoAdview of BUNativeAdRelatedView (for specific usage, see the self-rendering basic module), the icon style and size of the video playback incon, and you can also set whether** click to pause is allowed **
Callback Method | Notes |
@property (nonatomic, assign) BOOL drawVideoClickEnable; | Whether click to pause the video is allowed, the default is NO. Only used for Draw video ads (immersive ads) |
- (void)playerPlayIncon:(UIImage *)playImg playInconSize:(CGSize)playSize; | Custom Pause Button Style Method Set CGSizeZero to use the picture size by default |
For detailed access, please refer to the BUDDrawVideoViewController class in Demo, and for the advertisement loading request part, please refer to the loadNativeAds method
Online Customer Service24/7 Online Customer Service BotManual customer service, weekdays 10~ 12 o'clock/14~ 19 o'clock