Search code examples
iphoneiosios5ios6chartboost

Charboost Ad not dispalying in my app


I am integrating chart boost Ad into my iOS app. But it is not displaying any Ad. I used the following code in 'applicationDidBecomeActive' method, to display the chart boost.

 Chartboost *cb = [Chartboost sharedChartboost];
cb.appId = "YOUR_CHARTBOOST_APP_ID";
cb.appSignature = "YOUR_CHARTBOOST_APP_SIGNATURE";
// Begin a user session
[cb startSession];
// Show an interstitial
[cb showInterstitial];

What is the problem with this? Is there anything else that I have to do?

Thanking You in Advance


Solution

  • You can refer following links:-

    https://help.chartboost.com/downloads/ios

    https://github.com/ChartBoost/client-examples

    The second link contains example code too, so you can refer that, and your code just need to be written in appdelegate file with proper chartboost_id and chartboost_secret. [cb showInterstitial] should be in the controller you want to display ads.