Customized advertising platform Adapter implementation instructions
1. Introduction
This document will introduce how to Integrate a custom Adapter on iOS to support native ads, rewarded video, banner ads, intersitial ads and splash ads. For specific implementation, please refer to: TopOn custom adapter demo
2. Access process
The steps are as follows:
- Define the Adapter class name corresponding to the advertising form , and create a custom Network in the TopOn developer backend and configure the Adapter corresponding to the advertising format. For details, see How to use the TopOn backend Create a custom advertising platform.
- Create a custom Network advertising source, and configure the content in json form in the TopOn background according to the content protocol defined by the Adapter. The Adapter of the SDK will use serverInfo to pass the content into the corresponding method in the form of a dictionary.
- Follow the instructions for implementing specific advertising forms to implement the specific Adapter class and SDK reception CustomEvent class for callback.