About PubNative configuration, please contact your AM to help you.
OpenMediation Platform Configuration
Ad Network
1.Enter the OpenMediation publisher platform, click on Ad Network → click Edit behind PubNative.
2.After filling in the relevant information, click Save.
- Please contact your AM to get the configuration information.
Add Instance
- Click Mediation → Ad unit → Add Instance.
- After filling in the relevant information, click Save.
- Ad Network:Select PubNative。
- Instance Name: You can define the name of your ad unit yourself, we suggest you name it: Placement ID_Ad Network Name_ Country_Floor Price.(E.g: 6539_Pangle_USA_40)
- Unit ID:Please contact your AM to get this ID.
Add the PubNative SDK&Adapter to Your Build
Android
1. Add the PubNative SDK
- Add to your project-level build.gradle file.
...
allprojects {
repositories {
...
jcenter()
maven {
url "https://verve.jfrog.io/artifactory/verve-gradle-release"
}
}
}
- Add to your application-level build.gradle file inside dependencies section.
implementation 'net.pubnative:hybid.sdk:+'
2. Add the PubNative Adapter
OpenMediation supports both Gradle dependencies and Manual download mechanisms.
Gradle dependencies
- Add the following in your application-level build.gradle file inside dependencies section.
implementation 'com.openmediation.adapters:pubnative:+'
Manual download
- Download the Adapter from here.
- Add the Adapter to Your Project.
3. For ProGuard Users Only
If you are using ProGuard with the PubNative adapter, you must add the following code to your ProGuard configuration (Android Studio: proguard-rules.pro or Eclipse: proguard-project.txt):
-keepattributes Signature
-keep class net.pubnative.** { *; }
iOS
OpenMediation supports both Cocoapods and Manualdownload mechanisms.
Cocoapods
To Integrate the PubNative SDK with Cocoapods, enter the following line in your podfile and you are good to go!
pod 'HyBid'
Manual Download
1. Download the PubNative framework
- you can find the lastest PubNative SDK here.
2. Add the PubNative frameworks to your Project
Done!
You are now all set to deliver PubNative within your application!
Comments
Please sign in to leave a comment.