Log In
You can then view all documents
Installation/iOS/Self-rendering Feed Ads
Self-rendering Feed Ads
Last updated 2022-01-20 10:24:42

Origin Rendering Feed Ads


Self-rendering Feed Ads: The scene should be displayed interspersed with the application content in the application content stream, and the advertising content should be distinguished from other content in the application to prevent accidental clicks.

Supported ad sizes:

  • Large picture (Picture with aspect ratio: 1.78)
  • Video (Aspect ratio: 1.78 video)
  • Small image (Picture with aspect ratio: 1.52)
  • Group pictures (three pictures with aspect ratio: 1.52)


**Self-rendering information flow ads: ** Reclaimed and no longer available for creation

Self-rendering Feed advertisement

Instructions for use

Self-rendering information flow ads use the BUNativeAdsManager object to call loadAdDataWithCount: to request ads, by setting BUNativeAdsManagerDelegate, BUVideoAdViewDelegate, BUNativeAdDelegate agents, to get the ad-related materials and click Wait for callback.

Create an ad slot object and request an ad


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.

Required parameters:

Field name

Field definition

Field type





Basic configuration


Code Bit

Code Bit ID

Use BUAdSlot to create basic advertising information, use BUNativeAdsManager to call loadAdDataWithCount: to request ads


Note: The number of loadAdDataWithCount requests is recommended to No more than 3 requests at a time

Receive ads loading results

Callback Method


nativeAdsManagerSuccessToLoad: nativeAds:

Load success callback; perform related data insertion processing in this callback


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

BUNativeAdDelegate callback description

Callback Method



Ad materials loaded successfully


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


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


Except for the video area, click will respond to this callback method


dislike button click callback, you need to process the response data in this callback method


  1. After obtaining the relevant advertisement information assignment in the material loading success method, you need to call registerContainer:withClickableViews:clickableViews to register the bound clickable View and refresh the data source refreshData:.
  2. You need to refresh and call the refreshData: method after each material information is obtained


For detailed access, please refer to the BUDFeedViewController class in Demo, and for the advertisement loading request part, please refer to the loadNativeAds method

Contact us