Self-rendering interstitial: The use scene is the natural experience when the application function is interrupted, such as pausing video playback, between game levels. Interstitial ads should not appear suddenly, and should not interfere with the normal process of users using the app, such as app loading, exiting the app, or during the game.
Supported ad sizes:
- Large picture (Picture with aspect ratio: 1.78)
- Small image (Picture with aspect ratio: 1.52)
- Group pictures (three pictures with aspect ratio: 1.52)
Self-rendering interstitial: Reclaimed and no longer available for creation
Self-rendering interstitial ads use the BUNativeAd object to call loadAdData to request the ad, and set the BUNativeAdDelegate agent to get the ad-related materials and click callbacks.
When requesting an ad, you need to pass in the ad slot object. When creating the ad slot object, you must pass in the ad slot ID and the basic ad configuration BUAdSlot, BUSize
Field name | Field definition | Field type | Remarks |
BUAdSlot | / | / | Basic configuration |
BUSize | / | / | Request the size of the ad image |
slotID | Code bit | NSString | Code bit ID |
Use BUAdSlot, BUSize to create basic advertising information, use BUNativeAd to call loadAdData to request ads
Callback Method | Notes |
nativeAd: didFailWithError: | The returned error code (error) indicates the reason why the ad failed to load. Please refer to the link for details of all error codes. Link |
nativeAdDidLoad: | Ad loading success callback It is recommended to insert data in this callback method |
####BUNativeAdDelegate callback description
Callback Method | Notes |
nativeAdDidLoad: | Callback for successful loading of advertising materials |
nativeAd: didFailWithError: | The returned error code (error) indicates the reason why the ad failed to load. Please refer to the link for details of all error codes. Link |
nativeAdDidBecomeVisible: | Ad display callback |
nativeAdDidCloseOtherController: interactionType: | This callback is called when the ad jumps to another controller and the controller is closed. InteractionType: This parameter can be distinguished from the opened appstore/webpage/video ad details page |
nativeAdDidClick:withView: | Click callback method |
nativeAd: dislikeWithReason: | dislike button click callback, you need to process the response data in this callback method |
By setting BUNativeAdDelegate agent, get callbacks such as advertisement closing. For other proxy methods, please refer to the BUDNativeInterstitialViewController class in Demo
Online Customer Service24/7 Online Customer Service BotManual customer service, weekdays 10~ 12 o'clock/14~ 19 o'clock