Getting Started Guide
Preface
To integrate and display Adx3 ads, integrating the SDK into the application and completing the relevant initialization configuration are needed. After integration, you can select multiple ad formats for integrated display. Please follow the document's rules and steps to implement them.
Preparation
Complete the preliminary preparation according to the following steps:
Requirement Version Condition
Ensure Android Studio 3.2 or higher
MinSdkVersion is 21 or higher compileSdkVersion is 28 or higher
Download the latest version of the SDK
https://pub-block.s3.ap-east-1.amazonaws.com/base/202306/4a579c5d41750549.aar
Apply for SDK application and advertising ID in the SSP management background
Configure your app
Build at your project level and dependency configuration in
gradle
fileAdd aar package references to different dependencies of the project
api fileTree(dir: 'libs', include: ['*.aar'])
Add aar package dependency at the application level
build.gradle implementation(name: 'adx3sdk',ext:'aar')
Add network permissions to the application-level AndroidManifest registration file
<uses-permission android:name="android.permission.INTERNET" />
Initialize advertising SDK
Please call Adx3Ads.Initialize()
before loading advertisements, is best carried out in, so that the SDK can be initialized quickly without affecting the quick start of advertisements such as screen opening. This method only needs to be initialized once and does not need to be executed later. The following code example demonstrates how to use it in Applicaiton
As mentioned above, you have completed the initialization of the advertising SDK. Later, you can display different types of advertisements according to different advertising formats
Select ad format
Last updated