Template 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: portrait video (aspect ratio 16:9) & landscape video (aspect ratio 9:16)
**Template rendering of Draw video ads: ** Provided by default
The template Draw information flow advertisement uses the BUNativeExpressAdManager object to call loadAd to request the advertisement, and the BUNativeExpressAdView object to render the advertisement render, and obtain it by setting the BUNativeExpressAdViewDelegate agent Advertisement, display, click, and close callbacks.
You need to pass in the ad slot object when requesting an ad, and the ad slot ID must be passed in when the ad slot object is created
Field name | Field definition | Field type | Remarks |
BUAdSlot | / | / | Basic information configuration, see case for details |
adSize | Ad size | CGSize | Ad size, default full screen display |
Before requesting ads, you need to configure the basic information of BUAdSlot ads, use BUNativeExpressAdManager to create objects, and use BUNativeExpressAdManager to call loadAd to request ads
Since the official Demo uses tableView for the insertion and display of advertisements, you can directly update the data source to update the relevant insertion and display of the advertisement. It is recommended that the developer perform the rendering and display of the advertisement after receiving the nativeExpressAdSuccessToLoad callback to ensure playback. Smooth and smooth display, better user experience.
After receiving the nativeExpressAdSuccessToLoad callback, the advertisement will be rendered and displayed, and the data source will be refreshed.
For detailed access, please refer to the BUDExpressDrawViewController class in Demo, refer to the loadData method for the advertisement loading request part, and the nativeExpressAdSuccessToLoad method for the advertisement display rendering part.
Online Customer Service24/7 Online Customer Service BotManual customer service, weekdays 10~ 12 o'clock/14~ 19 o'clock