Just done 2.2.7 with SDK 9 and only put my Heyzap Ads in, worked perfect, put the rest in (Unity, AdColony, AppLovin, Chartboost and Vungle) and it crashes, will do them 1 by one now. I will also try the 2.2.7 export merged into a 2.2.9 export. I did try this but to no avail, will try again. Thanks @Andy, appreciated!
Make sure you have the correct 3rd party SDKs. They are not the same for SDK 9 and SDK 10. You also need to download them from the HeyZap site.
Yes I used the integration wizard and selected my SDK's. Every once in a while I get a crash. Doesn't seem to be related to any particular SDK. Not sure if this helps. The debug always takes me to the main.m file however, something to do with this: int retVal = UIApplicationMain(argc, argv, nil, @"AppController"); [pool release]; Here is the Log: 2017-06-07 20:25:09.250 PZPlayer[4037:1402665] ------- banner did requested saccessfully: <HZBannerAd: 0x7fc9627154d0, mediatedNetwork: heyzap_exchange, mediatedBanner: <HZHeyzapExchangeBannerWrapperView: 0x7fc95cb5b490; frame = (0 0; 375 50); layer = <CALayer: 0x600000423120>>> () 2017-06-07 20:25:09.251 PZPlayer[4037:1402665] ------- {{0, 0}, {375, 50}} 2017-06-07 20:25:09.251 PZPlayer[4037:1402665] showing heyzap banner layout 2017-06-07 20:25:09.252 PZPlayer[4037:1402665] cocos2d: surface size: 750x1334 2017-06-07 20:25:09.753864+0100 PZPlayer[4037:1402775] [aqme] 254: AQDefaultDevice (173): skipping input stream 0 0 0x0 2017-06-07 20:25:11.762346+0100 PZPlayer[4037:1402775] [aqme] 254: AQDefaultDevice (173): skipping input stream 0 0 0x0 2017-06-07 20:25:12.473 PZPlayer[4037:1402665] [ Heyzap 9.6.5 ] Chartboost: Failed to load incentivized, no ad found ! 2017-06-07 20:25:13.269 PZPlayer[4037:1402665] [ Heyzap 9.6.5 ] Not waiting for Chartboost to fetch because it errored during a fetch for creativeType:INCENTIVIZED. Error: Error Domain=HeyzapMediation Code=1 "(null)" UserInfo={MediatorName=Chartboost} 2017-06-07 20:25:13.286 PZPlayer[4037:1402665] +[UnityAds sharedInstance]: unrecognized selector sent to class 0x108415170 2017-06-07 20:25:13.289 PZPlayer[4037:1402665] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[UnityAds sharedInstance]: unrecognized selector sent to class 0x108415170' *** First throw call stack: ( 0 CoreFoundation 0x000000010e8c6b0b __exceptionPreprocess + 171 1 libobjc.A.dylib 0x000000010e32b141 objc_exception_throw + 48 2 CoreFoundation 0x000000010e936074 +[NSObject(NSObject) doesNotRecognizeSelector:] + 132 3 CoreFoundation 0x000000010e84d840 ___forwarding___ + 1024 4 CoreFoundation 0x000000010e84d3b8 _CF_forwarding_prep_0 + 120 5 PZPlayer 0x0000000107c5c145 -[HZUnityAdsAdapter toggleLogging] + 37 6 PZPlayer 0x0000000107c5c248 -[HZUnityAdsAdapter internalInitializeSDK] + 79 7 PZPlayer 0x0000000107ce7cf0 __30-[HZBaseAdapter initializeSDK]_block_invoke + 34 8 PZPlayer 0x0000000107c4276b hzEnsureMainQueue + 318 9 PZPlayer 0x0000000107ce7c4c -[HZBaseAdapter initializeSDK] + 152 10 PZPlayer 0x0000000107ca50f8 __37-[HeyzapMediation setupAdapterNamed:]_block_invoke + 449 11 libdispatch.dylib 0x0000000110ce705c _dispatch_client_callout + 8 12 libdispatch.dylib 0x0000000110cc4a38 _dispatch_sync_function_invoke + 337 13 libdispatch.dylib 0x0000000110ce705c _dispatch_client_callout + 8 14 libdispatch.dylib 0x0000000110cca0f8 _dispatch_barrier_sync_f_slow_invoke + 579 15 libdispatch.dylib 0x0000000110ce705c _dispatch_client_callout + 8 16 libdispatch.dylib 0x0000000110cc840b _dispatch_main_queue_callback_4CF + 411 17 CoreFoundation 0x000000010e88b909 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 18 CoreFoundation 0x000000010e851ae4 __CFRunLoopRun + 2164 19 CoreFoundation 0x000000010e851016 CFRunLoopRunSpecific + 406 20 GraphicsServices 0x0000000110155a24 GSEventRunModal + 62 21 UIKit 0x000000010c165134 UIApplicationMain + 159 22 PZPlayer 0x0000000107c2e084 main + 100 23 libdyld.dylib 0x0000000110d3365d start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException
I removed Unity and AdColony, there were causing big headaches, even with SDK 9. I have it working with 2.2.9 and Heyzap SDK 9 too.
It was about time!! I made it work finally!! I can't thank you enough @Christoph @Andy I missed one simple point and that is why I was struggling with it. I was including other ad networks inside buildbox also with heyzap but simply Heyzap doesn't seem to like it ad neither Xcode. So when I took out everything everything worked like snap of a finger. The adnetworks I used are Chartboost, Vungle, Unity, and Admob. Let's see how it will work out! Thank you once again @Christoph for this great tutorial. By the way even tough watched some videos I don't seem to see any impressions on my Heyzap dashboard. Does it take some time for data to show up? Thankx
Hey guys, if you have problems, first check if you are using the correct version. Buildbox 2.2.9 uses again SDK 9, so follow the other tutorial instead.
Hey guys so everything goes smoothly, until i try to bring up the test suit. Instead of opening the meditation window, it just brings up the game? Please advise as my game is waiting on this! Thanks and good luck to everyone! I am using BB 2.2.8 and SDK 9 as 10 can't be found on heyzap. if i try to delete all sdk 10 files it gives me errors and i can't build if i dont and just add sdk 9 to frameworks it works but no meditation window
Running into the exact same error. I'm wondering if it is the Heyzap SDK? Did you ever figure out a solution?
Since there are so many ad networks you can include in your project, does that mean you'll be getting a fill rate of close to 100%? I know AdMob, for example, can only include so many ads in one game, usually capping at about 50% fill rate but would including all those other ad networks make up for the rest of it?
Hmm, I seem to be having an issue. I installed everything which to me seems correct, but for some reason when I launch the app on my iPhone with xCode Admob says it has the SDK available, but the SDK does not have necessary credentials and the network is not enabled on the dashboard. I have setup Admob and integrated it on HeyZap, as well as linked all of the ad and game IDS. I am stumped and have been trying to figure out how to do this mediation stuff for hours now.
I spend days if not weeks to figure it out. So if you are spending only hours you are good to go. When it says necessary credentials are missing and/or network is not enabled then you can be pretty sure you did something wrong with the credentials or are not logged in to Google from within the Heyzap dashboard. I'm not sure about that but I don't think that ad networks wouldn't try always to fill the rate. They earn money with your ads, tons of it. So they are interested as well that the fill rate is high. But yeah, IF you can't fill it with one, it definitely is always better to have a second ad network running. One of the many great things why you should mediate in the first place.
Thats odd, I am using the same emails for both HeyZap and Abmob, as well as granted access in the HeyZap Admob integration page. I attached a picture of what I am getting when I launch the app in Xcode, and a screenshot showing the reporting status of both. In the mediation test suite, HeyZap says it has been integrated successfully, but no ads are showing up in the Xcode simulator either. I have set banner and interstitial ads to HeyZap in the BuildBox mind map for my Game UI, Gameover UI and Main Menu UI before I exported.
Hard to say. I would have to take a look myself to be able to help more. Double check the App Specific/Mediation Settings from the left side panel. Sorry if I couldn't be more helpful.
No problem, looks like no one else is having this problem so it may be hard to diagnose. It might be the versions of Buildbox and the SDKs I am using. Would I be better off implementing Admob ads without HeyZap mediation, is that even possible?
If you use only admob yes. Definitely better. Don't bother with Heyzap unless you have video rewards and or want to mediate between different ad networks. @volcank had problems as well with admob and Heyzap, not sure if he already resolved it.