Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

Chartboost not downloading ads on iOS or Android,

$
0
0
Hello all, This is my first time trying to integrate Chartboost ads into a Unity project. I have created a simple test project that will show an Video Interstitial at the click of a button. When testing the project on my iPhone and Android tablet however it appears an ad is not downloaded. When using the Chartboost example project I get the error didFailToLoadInterstitial: NetworkFailure at location Default. This error appears to be shown when an attempt is made to download an ad from the Chartboost server but fails, as stated in the Chartboost code. After following many tutorials online step by step, I can find nothing wrong. I believe I have completed the steps necessary as shown by the Chartboost tutorial: - I have a Chartboost account. - I have added the app to my dashboard and set the orientation to Portrait which matches the project. I have tested it in Test Mode. - I have created an active Video Interstitials publishing campaign for the app in iOS and Google Play. - I have downloaded and imported the most recent Chartboost SDK into my project. - I have entered both the iOS and Google Play ID's and Signatures, and double checked they matched. - I have downloaded the Play Services library through the Android Studio SDK manager and configured it to Unity in the Chartboost settings. - Both of my testing devices surpass the OS requirements for Chartboost. My tablet is running Android 6.0 and my iPhone is on iOS 11. One interesting thing to note is that I did not have Google Play Services library installed for a while but the "Setup Android SDK" button still displayed the "Chartboost configured successfully" message. After installing the library the message still displays as desired. Here is the very simple code for my test project: using System.Collections; using System.Collections.Generic; using UnityEngine; using ChartboostSDK; public class MyScript : MonoBehaviour { // Use this for initialization void Start () { Chartboost.cacheInterstitial (CBLocation.Default); } // Update is called once per frame public void showInterstitial () { if (Chartboost.cacheInterstitial (CBLocation.Default)) { Chartboost.showInterstitial (CBLocation.Default); } } } I have placed the Chartboost object into the scene. I am at a loss as to what is causing this problem. I am willing to give any additional pieces of information to help solve this. Any help or guidance would be greatly appreciated.

Viewing all articles
Browse latest Browse all 4709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>