Scope: Self-rendering information flow, self-rendering Draw, self-rendering interstitial, self-rendering Banner
-The self-rendering banner and the self-rendering interstitial request ads use different types
-setNativeAdType(AdSlot.TYPE_INTERACTION_AD)//When requesting native ads, be sure to call this method,Set the parameter to TYPE_BANNER or TYPE_INTERACTION_AD
-Self-rendering banner is to create a view on the FrameLayout control, add advertising elements to the view, and bind the view to the corresponding control
-Self-rendering interstitial is to directly create a Dialog, create a layout in the dialog, and add the corresponding advertising elements.
Dislike logic of self-rendering information flow advertisement and banner advertisement
The SDK provides the Dislike logic of Information Flow Advertising and Banner Advertising for the access party. When the user chooses to close the advertisement, there will be a prompt asking the user, including "Not interested" and "Have seen" options for the user to choose. This feedback is mainly used for the advertising strategy of Toutiao ads on the client side, to optimize and increase the click-through rate of the ads, to increase the effectiveness of the ads and the revenue of partners.
After obtaining TTFeedAd or TTBannerAd, call
TTFeedAd.getDislikeDialog() or TTBannerAd.getDislikeDialog()
to obtain the TTAdDislike object. DislikeInteractionCallback selects the result callback interface for the user
The following logic is the logic in the CSJ version 3500 SDK. SDK developers below 3500 version can refer to the corresponding demo for integration
Callback | Description |
onItemClick() | Callback when user clicks filterWord in the case of custom style |
onClick() | User clicked "Why see this ad" in the case of custom styles |
onSelected() | Default dislike style, click filterWord to call back. Developers can remove ads in this callback |
onCancel() | The default dislike style, click to cancel the callback |
onShow() | default dislike style, dislike pop-up window display back |
onRefuse() | The default dislike style, the user repeatedly clicks the dislike button to call back. Version 3600 is abolished |
All CSJ advertisement types can monitor the download progress according to this callback
The SDK provides a download status listener for application download advertisements. The access party can register the listener to monitor changes in the download status. The listener supports callbacks for not downloading, downloading, download pause, download failure, download complete, and installation complete.
Example of use:
Method | Description |
onIdle() | Binding download listener callback |
onDownloadActive() | Callback in downloading |
onDownloadPaused() | Download Paused Callback |
onDownloadFailed() | Download failed callback |
onDownloadFinished() | Download complete callback |
onInstalled() | Installation complete callback |
Online Customer Service24/7 Online Customer Service BotManual customer service, weekdays 10~ 12 o'clock/14~ 19 o'clock