Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
J53 Industries

Senior Member
Registered:
Posts: 107
Reply with quote  #1 
Hello I am new to making mobile games. I recently released my first app on Google play and I would like to put ads on it.And I just signed up for chartboost. So my question is what kind of ads does chartboost display, is it only ads for other chartboost users games. Because how does that make any money if everyone in chartboost just displays ads for everyones games. Maybe I am just missing the point but I do not understand where chartboost is making any money and how that makes me any money. Sorry for any confusion this might have caused. And thanks again in advance.
__________________
Check Out My Apps Below

https://play.google.com/store/apps/developer?id=J53+Industries
0
EpicStudios

Senior Member
Registered:
Posts: 195
Reply with quote  #2 
Basically how it works is that an advertiser pays for an install. You get a user to install their app and a portion on the money they spent to buy that install is given to you. Hope it helps and feel free to ask more questions if you are unclear on chartboost [smile]
0
J53 Industries

Senior Member
Registered:
Posts: 107
Reply with quote  #3 
Quote:
Originally Posted by EpicStudios
Basically how it works is that an advertiser pays for an install. You get a user to install their app and a portion on the money they spent to buy that install is given to you. Hope it helps and feel free to ask more questions if you are unclear on chartboost [smile]


Okay thanks a ton it is becoming more clear now. One other question when I start a campaign do I select Advertise in the Network or Publish in the Network if I want to get paid for displaying someones ads.

__________________
Check Out My Apps Below

https://play.google.com/store/apps/developer?id=J53+Industries
0
Salus Games

Member
Registered:
Posts: 85
Reply with quote  #4 
Quote:
Originally Posted by J53 Industries
Quote:
Originally Posted by EpicStudios
Basically how it works is that an advertiser pays for an install. You get a user to install their app and a portion on the money they spent to buy that install is given to you. Hope it helps and feel free to ask more questions if you are unclear on chartboost [smile]


Okay thanks a ton it is becoming more clear now. One other question when I start a campaign do I select Advertise in the Network or Publish in the Network if I want to get paid for displaying someones ads.


Publish [smile]

__________________
http://www.salusgames.com - Our passion is making great quality games across all genre's.
0
J53 Industries

Senior Member
Registered:
Posts: 107
Reply with quote  #5 
Thanks
__________________
Check Out My Apps Below

https://play.google.com/store/apps/developer?id=J53+Industries
0
J53 Industries

Senior Member
Registered:
Posts: 107
Reply with quote  #6 
Also one other quick question. When I go to set up Chartboost in Unity it say setup Android SDK and when I click on that it comes up with an error saying that Google Play Library Services could not be found on your SDK installation. So I then go to the Chartboost integration guide for Unity and it sends me to this Link https://developer.android.com/google/play-services/setup.html#Install

So my question is where can I find the Google Play Library Services so I can finish setting up Chartboost in my game are there any good video tutorials or should I just email Chartboost. Sorry if this question was a bit confusing but I don't know where else to go or ask. Thanks in advance. 

__________________
Check Out My Apps Below

https://play.google.com/store/apps/developer?id=J53+Industries
0
EpicStudios

Senior Member
Registered:
Posts: 195
Reply with quote  #7 
What version of the android SDK are you using? I use an older version because the latest one doesn't like to cooperate with unity. You could try using a different version. Let me know what version you have first tho. Oh and you should email chartboost, their staff is very well trained and friendly. They have always helped me with any integration issues.

Good luck [smile]
0
odel

Junior Member
Registered:
Posts: 18
Reply with quote  #8 
have u installed Android sdk ? do it then provide it instalation path to unity ! becoz unity require android sdk if u build for android devices ! also for packages like chartboost or admob or others .. u need to install google play services must be installed in u re android sdk and must be updated to the latest version ! thats all Good luck
0
odel

Junior Member
Registered:
Posts: 18
Reply with quote  #9 
@EpicStudios ! i think u re using old unity version
0
J53 Industries

Senior Member
Registered:
Posts: 107
Reply with quote  #10 
Update: I have installed the Google play services in my SDK manager. However when I go to edit settings for chartboost in Unity it still says that I am missing the Google play services. Any suggestions on how I could update my android package that installed to unity (to develop for android)
__________________
Check Out My Apps Below

https://play.google.com/store/apps/developer?id=J53+Industries
0
EpicStudios

Senior Member
Registered:
Posts: 195
Reply with quote  #11 
hmmm weird, have you already set the location of the android sdk in unity. (Edit -> Preferences -> External tools -> Android Sdk Path)
if you already this is I would recommend downloading the latest version of the chartboost sdk and if that doesn't work contact Chartboost
0
J53 Industries

Senior Member
Registered:
Posts: 107
Reply with quote  #12 
I figured it out I had to run the SDK manager as an administrator. Thanks a ton for everyone's help. One very quick last question once i have entered my app ID and signature and it says chartboost has configured successfully am I all set and do ads start showing on my game or do I need to do other things.
__________________
Check Out My Apps Below

https://play.google.com/store/apps/developer?id=J53+Industries
0
J53 Industries

Senior Member
Registered:
Posts: 107
Reply with quote  #13 
Anyone???
__________________
Check Out My Apps Below

https://play.google.com/store/apps/developer?id=J53+Industries
0
Salus Games

Member
Registered:
Posts: 85
Reply with quote  #14 
If you have the campaigns set up and call the ads correctly in your code then you don't have to do anything else, the ads will show.
__________________
http://www.salusgames.com - Our passion is making great quality games across all genre's.
0
odel

Junior Member
Registered:
Posts: 18
Reply with quote  #15 
disable test mode .. [smile]
0
J53 Industries

Senior Member
Registered:
Posts: 107
Reply with quote  #16 
Okay sorry for the late response. How would I go about putting an ad on the main menu?That is the one last thing that I don't not understand is how to call an ad.
__________________
Check Out My Apps Below

https://play.google.com/store/apps/developer?id=J53+Industries
0
Salus Games

Member
Registered:
Posts: 85
Reply with quote  #17 
Make sure you have 

using ChartboostSDK;
at the top

To show a Interstitial

if (GUILayout.Button("Show Interstitial")) {
    Chartboost.showInterstitial(CBLocation.Default);
}


To show the moreApps page

if (GUILayout.Button("Show More Apps")) {
    Chartboost.showMoreApps(CBLocation.Default);
}

__________________
http://www.salusgames.com - Our passion is making great quality games across all genre's.
0
J53 Industries

Senior Member
Registered:
Posts: 107
Reply with quote  #18 
Okay does this go under Function Start or Function Update. And does the using ChartboostSDK go wuth the variables? Thanks for all your help I am a very poor at coding but I am working to improve.
__________________
Check Out My Apps Below

https://play.google.com/store/apps/developer?id=J53+Industries
0
Salus Games

Member
Registered:
Posts: 85
Reply with quote  #19 
The using chartboostSDK goes at the very top. So it will look something like


using Unity;
using System.Collections;
using ChartboostSDK;


You can put it in whatever function you like but with the example I used you click a button to show the ad so to get it working stick it in OnGUI()


void OnGUI()
{
    if (GUILayout.Button("Show Interstitial")) {
        Chartboost.showInterstitial(CBLocation.Default);
    }

    if (GUILayout.Button("Show More Apps")) {
        Chartboost.showMoreApps(CBLocation.Default);
    }
}


In Start() it will just be


void Start()
{
    Chartboost.showInterstitial(CBLocation.Default);
}



__________________
http://www.salusgames.com - Our passion is making great quality games across all genre's.
0
Grumpy

Senior Member
Registered:
Posts: 318
Reply with quote  #20 
Talking about Chartboost... does anyone know what time a new Chartboost day starts in UK time? I start getting data through for a new day at about midday but I have no idea when they consider a new day to have started.

Sorry for going off topic!
0
J53 Industries

Senior Member
Registered:
Posts: 107
Reply with quote  #21 
Hey guys not to dig up an old thread but I am incorporating chartboost interstitial ads into my newest app and i am having some trouble. I  use this code on the main menu however when I build out the apk to preview the ad on my device it does not show. Now I have already published the app to google play and I have started a publishing campaign on chartboost for that app. So I guess what I am wondering is it necessary to update the app on google play with the updated chartboost script in order for the app to show chartboost ads.

Any help would be greatly appreciated. Thanks in advance


void Start()
{
    Chartboost.showInterstitial(CBLocation.Default);
}



__________________
Check Out My Apps Below

https://play.google.com/store/apps/developer?id=J53+Industries
0
tubemice

Member
Registered:
Posts: 44
Reply with quote  #22 
hi
You need to add this line below before you call  show ad function

Chartboost.cacheInterstitial(CBLocation.Default);
0
J53 Industries

Senior Member
Registered:
Posts: 107
Reply with quote  #23 
So like this(code posted below). I am new to coding and for the last app that I displayed chartboost ads I did not have to do this. If anyone could help me that would be awesome thanks

 
using UnityEngine;
using System.Collections;
using ChartboostSDK;
 
public class ChartboostProtoGood : MonoBehaviour {
 
void Start () {
Chartboost.cacheInterstitial(CBLocation.Default);
 
Chartboost.showInterstitial(CBLocation.Default);
}
 
 

__________________
Check Out My Apps Below

https://play.google.com/store/apps/developer?id=J53+Industries
0
Crichton333

Avatar / Picture

Senior Member
Registered:
Posts: 273
Reply with quote  #24 
Every ad network shows ads in Unity with a simple .showInterstitial function but Im also having trouble with Chartboost, Im getting all the stats in the Chartboost console but it just wont show ads on Android. So I went with AppLovin [smile]

__________________

"Smoke me a kipper i'll be back for breakfast." -- iOS: Nebula Virtual Reality

0
Salus Games

Member
Registered:
Posts: 85
Reply with quote  #25 
I've always had trouble with Chartboost caching ads sometimes as well. In theory, and I have tried it just not on a published app, putting 

Chartboost.cacheInterstitial(CBLocation.Default);
 in update will work. As said on the Chartboost website it will try and cache a ad if none is cached and do nothing is one is.


/// Cache an interstitial at the given CBLocation.
/// This method will first check if there is a locally cached interstitial
/// for the given CBLocation and, if found, will do nothing. If no locally cached data exists 
/// the method will attempt to fetch data from the Chartboost API server.
/// 
///The location for the Chartboost impression type.
public static void cacheInterstitial(CBLocation location) {
CBExternal.cacheInterstitial(location);
}

This might cause your players data be used up quicker as your game will keep pinging the Chartboost servers every frame till it gets a ad. When I did try it on a test app it took about 6 frames until Chartboost finally decided to cache a interstitial but could of just been the time of day etc.

But yeh chartboost interstitial's have a mind of their own on when they want to show/cache.

__________________
http://www.salusgames.com - Our passion is making great quality games across all genre's.
0
J53 Industries

Senior Member
Registered:
Posts: 107
Reply with quote  #26 
Thank you so much for your help Salus. I just have one last quick question. So I am incorporating interstitial ads and this is my script. However I get compiler errors with this script. What is a simple script that displays interstitial ads. Thanks in advance

 
using UnityEngine;
using System.Collections;
using ChartboostSDK;
public class NewBehaviourScript : MonoBehaviour {
 
void Start () {
 
}
 
void Update () {
 
public static void cacheInterstitial(CBLocation location) 
CBExternal.cacheInterstitial(location);
 
}
}
 
 
 

__________________
Check Out My Apps Below

https://play.google.com/store/apps/developer?id=J53+Industries
0
Salus Games

Member
Registered:
Posts: 85
Reply with quote  #27 
All you need to do is


using UnityEngine;
using System.Collections;
using ChartboostSDK;
public class NewBehaviourScript : MonoBehaviour {
 
void Start () {
 
}
 
void Update () {
 
Chartboost.cacheInterstitial(CBLocation.Default);
 
}


but like I said I don't know how much data it would use on people phones to keep pinging chartboost till it gets a ad. If you tick isLogging in the chartboost settings you can see when its cached in the console.

__________________
http://www.salusgames.com - Our passion is making great quality games across all genre's.
0
J53 Industries

Senior Member
Registered:
Posts: 107
Reply with quote  #28 
Okay Salus thank you very much. I integrated the SDK,added the script and started a campaign. So all that I need to do now is update the apk on google play because when I build out the apk and install it on my phone no ad shows up. So I am just wondering if that is all I need to do. Thank you so much your a lifesaver
__________________
Check Out My Apps Below

https://play.google.com/store/apps/developer?id=J53+Industries
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.