Chartboost in iphone project / Chartboost usage in iOS

别说谁变了你拦得住时间么 提交于 2019-11-28 08:49:52

Perhaps there has been an error in loading them. I would implement the delegate methods as described in the docs, particularly the didFail method:

// Called before requesting an interstitial from the back-end
- (BOOL)shouldRequestInterstitial:(NSString *)location;

// Called when an interstitial has been received, before it is presented on screen
// Return NO if showing an interstitial is currently inappropriate, for example if the user has entered the main game mode
- (BOOL)shouldDisplayInterstitial:(NSString *)location;

// Called when the user dismisses the interstitial
- (void)didDismissInterstitial:(NSString *)location;

// Same as above, but only called when dismissed for a close
- (void)didCloseInterstitial:(NSString *)location;

// Same as above, but only called when dismissed for a click
- (void)didClickInterstitial:(NSString *)location;

// Called when an interstitial has failed to come back from the server
// This may be due to network connection or that no interstitial is available for that user
- (void)didFailToLoadInterstitial:(NSString *)location;

Notes_Warning :

Hi All, don't use Chartboost, instead try google Admob or other ads network. Because Chartboost - a cheater! I used Chartboost in my games, game got good ranking in Cambodia - reached #1 in Racing/games. Game got good downloads too...But Chartboost said we used many device in Cambodia and downloaded game...its not true...we are not from Cambodia...I tried to send message to Chartboost many times...but they didn't respond and suspended my account. They even didn't pay my 7463$. Really its a heart attack for us. Now we removed Chartboost and used Admob and earned our development cost from Admob easily. So avoid Chartboost avoid getting cheated!!! Truth always wins...Always do good. Be a good person but don't try to prove it. Just go away from bad cheaters!!!!


Now its working fine. We need to add publishing campaign in our chartboost account. Here

UPDATES:

 [Chartboost startWithAppId:CHARTBOOST_APP_ID appSignature:CHARTBOOST_APP_SIGNATURE delegate:self];
 [Chartboost  showInterstitial:CBLocationHomeScreen];

Some other way to see test Ads:

  • Add your device UDID in publishing campaign

  • Enable test mode in App settings.

It may also be because the Campaign is not filling adverts and you have not added the devices as test devices to force the adverts to be filled.

This is easily missed since at first adverts may be filled - only during testing they'll just stop mysteriously.

There is a setting in Chartboost:

Edit the Campaign you are using for testing

  • Under "Campaign Logic" click the "Show Test Devices" button.
  • Click "Add Test Device" to add each device.
  • Enable each device and Save the Campaign.

(Don't forget to un-tick them when live - since I assume that missing that will mean those devices keep seeing adverts but you probably want to see how the app really behaves)

You need to set

cb.delegate = self;

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!