Hello,
as @sorex requested, this is a short tutorial for mediation with admob for chartboost.
1) Register with chartboost. Add your app. Navigate to campaigns / Publishing . Click Create New Campaign and select network publishing again. Select Video Interstitial and create the campaign.
Do the same again to create Static Interstitial which means only image interstitial.
Now You have 2 active campaign.
2) Go to admob. Select monetize. Click on the app. Click 1 ad source next to your app's interstitial ad unit
click add network. Select chartboost. Enter your app's appid and appsignature ( you can find those under basic settings on chartboost panel for your app ). Set e high ecpm for chartboost like $5 for testing so that chartboost ads shows first.
3) Download adapter and sdk for chartboost ( download the aar file from files tab )
adapter : https://bintray.com/google/mobile-ads-adapters-android/com.google.ads.mediation.chartboost#read
sdk : https://answers.chartboost.com/hc/en-us/categories/200356615
4) Add lib and adapter to your project
5) add manifest entry:
6) Go to your video interstitial ad on chartboost dashboard and click on it. Click on advanced settings dropdown. Enable " Allow Player to Skip Video " .
All the ads will now have X on the top left or right after 3-4 seconds of video playing just like admob. If you don't do this , users will not be able to skip the video ads which will be frustrating.
That's all. Chartboost ads will show. It may take about 2-3 hours for ads to become available.
Please note that some of the mediation networks requires minimum sdk as 15, I can't remember if chartboost wants it too but i set minsdk to 15 for every app.
Regards,
Tufan
as @sorex requested, this is a short tutorial for mediation with admob for chartboost.
1) Register with chartboost. Add your app. Navigate to campaigns / Publishing . Click Create New Campaign and select network publishing again. Select Video Interstitial and create the campaign.
Do the same again to create Static Interstitial which means only image interstitial.
Now You have 2 active campaign.
2) Go to admob. Select monetize. Click on the app. Click 1 ad source next to your app's interstitial ad unit
click add network. Select chartboost. Enter your app's appid and appsignature ( you can find those under basic settings on chartboost panel for your app ). Set e high ecpm for chartboost like $5 for testing so that chartboost ads shows first.
3) Download adapter and sdk for chartboost ( download the aar file from files tab )
adapter : https://bintray.com/google/mobile-ads-adapters-android/com.google.ads.mediation.chartboost#read
sdk : https://answers.chartboost.com/hc/en-us/categories/200356615
4) Add lib and adapter to your project
B4X:
#AdditionalJar: chartboost.jar
#AdditionalJar: adapterchartboost.aar
5) add manifest entry:
B4X:
'chartboost
AddApplicationText(<activity android:name="com.chartboost.sdk.CBImpressionActivity"
android:excludeFromRecents="true"
android:hardwareAccelerated="true"
android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
android:configChanges="keyboardHidden|orientation|screenSize" />
)
6) Go to your video interstitial ad on chartboost dashboard and click on it. Click on advanced settings dropdown. Enable " Allow Player to Skip Video " .
All the ads will now have X on the top left or right after 3-4 seconds of video playing just like admob. If you don't do this , users will not be able to skip the video ads which will be frustrating.
That's all. Chartboost ads will show. It may take about 2-3 hours for ads to become available.
Please note that some of the mediation networks requires minimum sdk as 15, I can't remember if chartboost wants it too but i set minsdk to 15 for every app.
Regards,
Tufan
Last edited: