Can I have both iAds and Admob on my app? - ios

I recently added iAd on my app, then I realized that iAds isn't available in my country. Most of my users are in my country, so iAds is useless for me.
I'm wondering If I can put Admob in my app once the didFailToReceiveAdWithError: method is being called? Will this cause any problems?

Yes.
I've done it in one of my apps, which I shall refrain from linking to here. What I did was exactly what you're thinking of, showing a different ad provider (AdMob) in place of iAd when an iAd wasn't available. I've been doing this for months, several updates, and no problem.
If you want to be safe, just make sure that iAd has supremacy over the other providers - that way, there's no reason for Apple to complain.

Related

Xcode 9 Swift 4 AR app add ads

I am trying to add iads to my Xcode9/Swift 4 AR project.
From searching online, adding iads to the viewcontroller should be as easy as dragging the iad banner view into the main.storyboard, however there doesn't seem to be any options for ads in Xcode 9. Is this something with the new Xcode version? Or do I need to install some sort of add plugin to use iads. If for some reason iads got removed from Xcode I could always fall back on adMob for IOS.
Thanks, any info helps!
As far as I know, iAds have been depreciated. There are multiple in-app ad services which you can use, one of the most popular ones is, as you mentioned, AdMobs.
You would need to create an AdMob account, and install the Google AdMobs SDK, which is easily done through terminal/CocoaPods.
To create ads you need to first create an Ad Unit, after you've signed up to AdMobs.
Once you have done that, use this documentation, depending on the type of ad(s) you wish to display, to invoke and display ads. Keep in mind, different ads which require different delegates/methods.
But in regards to your question, you are not wrong nor is there any issues. Simple iAds have been abandoned, in essence.
iAd App Network got shut down at the end of 2016. You should use adMob as you stated, or some other form of ads for your app.

Error with iAd implementation means no revenue generated from ads?

For a while now I have had an app on the app store. I decided to try to add support for the Apple iAd Network in a recent update. It has been live for over a month now (at first I thought time would fix it) but I have come to the realisation that the app is still not making any money off of the ad revenue. Currently all my apps are free to download but I need to allow ads to keep them that way.
I am testing ads using this app because it is not my most popular app but if I can get them to work then I will look to update my other apps to support iAds in the future as well.
I cannot see if my live app is making ad requests because I get this error in the iAd Network part of iTunes Connect:
The status of this app is Ready for Sale. Below is a screenshot of my app to demonstrate that the iAd banner has been implemented correctly in Xcode to the best of my knowledge.
So my question is why is iAd not making me any money from ad revenue as I would expect it to? Have I done something wrong or is the problem with Apple?
UPDATE
I have now made and published another app with iAds successfully implemented but I still have no ads on this one!
Could it be due to a lack of popularity?
Some of the issues you are facing could be occurring since you haven't setup the contracts for iAds in itunes connect. Also, this may be unrelated, but when no ad loads, is the banner view visible?
Answer
The reason was simply that Apple has delays in processing at their end. I still don't know why one of my apps took so much longer than the other, however it was just a matter of time until the revenue started showing up as I had implemented everything correctly in Xcode.
Advise
Make sure you follow the official Apple guidelines, make sure to use the proper iAd banner and show it all the time (it will hide automatically when it needs to). Don't forget to setup all your information properly on iTunes connect either, although Apple makes it quite clear in their documentation what needs to be done there.
Be patient! Apple takes time to process these things.

After Submitting My App, iAds Have Stopped Working

So I submitted my app last week and it was approved 2 days ago. I have iAd impleted in the app. As soon as the app was "ready for sale" I downloaded it from the App Store. When I launched the app everything worked. iAd was displaying ads on the screen. But then about 10 minutes later the ads stopped. It's been 2 days since the ads stopped and they still aren't showing up. I have even tried redownloading the app from the store several times. And it's not just me. It's happening to everyone who downloads the app. I'm sure I just need to contact Apple however it's the weekend and I just want to know as soon as possible, has anyone else had this problem? Or is it even a problem? I've read other questions asking similar things, however I believe mine may be different seeing as the ads displayed for the first 10 minutes. Also! When I go to iAds on iTunes Connect, it says "AD Status: live ads" and it's lit up green. Also in iAds it says "recieving live ads"
The app is free and if you'd like to see for yourself here is a link to the app: https://appsto.re/us/FB4u5.i
Other Information:
The app is an arcade game
Ages 4+
iAd works perfectly in the Xcode version of the app
I have tried the game on different wifi routers and on 4g to see if there was some connection issue
The ads that are meant to be displayed are banner ads at the bottom of the screen
I have an answer! I just contacted apple iAd support and its is very clear now as to why I haven't been seeing ads the past few days. Some people stated in the comments that even once your app has been approved and is ready for sale, the iAd has its own separate reviewing process, and this is exactly true. However, I revieved some extra information from the support team that should be able to clear things up without confusion for anyone having this problem in the future. First of all, while Apple may review apps on the weekend, the iAd team does not, my app was approved on Friday and this is why I haven't seen any ads all weekend. Second, even if your ad status in the iAd network is green and says "live: recieving live ads" this does not mean that iAd has reviewed your app yet, it simply means that you have done everything required on your end. Lastly, I was told that the separate iAd reviewing process usually takes two to three business days. I hope that this information will help others in the future not to be concerned if they are experiencing this behavior.
I had exactly the same problem after updating my app. The ads were not displayed for about 2-3 days. After writing to Apple the problem was magically solved. I event did not get any answer from them.
I heard that Apple has an independent review process for iAds, maybe this could be the reason?
Have you tried contacting Apple's iAd support about this? I've experienced similar problems in the past and contacting them cleared it up. I've read other solutions where issuing an update to the application fixed the problem also. iAd has to approve your app to receive ads even after your app has been accepted and made available for download. Perhaps they just over looked yours.

Will iAd test ads disappear in Xcode after app approval?

I'm updating my app and although iAds are still not being served to my app due to its recent approval, the test ads aren't showing anymore in xCode. Will the test advertisements disappear after approval even in the simulator?
Ok so i talked to developer support on the phone and got the answer and the problem has actually been solved today. Once your app is accepted, iAd most likely will not be implemented immediately; and contrary to popular belief this does effect how it shows on your xCode testing as well. Its been about 24 hours since it was accepted and iAd just appeared. So hopefully that can help someone in the future.
iAds are only shown if there are iAds available to be shown. Apple has to sell ads to make them available. I rarely see iAds in my apps. My guess is that there are more people displaying iAds than have been sold.
I use ad AdMob aggregator to show both iAds and Google Ads. Makes beer money that way at least.
He has a thread going in the Apple developer forums as well:
https://devforums.apple.com/message/939808#939808
iAds will show test ads in a debug build on occasion (based on a setting). In the simulator or a test device, you can go into Settings - Developer - and change the Fill Rate or other settings as appropriate if you want to test always or never getting an ad. By default, it's around 50% or so.
Having your app released in the store has nothing to do with the test ads that get displayed in the debug builds not from the store.
So, the issue is most likely a bug in the code if ads, not even test ones, never appear.

iAds not displaying in test apps even though i joined iAd Network?

This is frustrating beyond reason. I am unable to view a single test advertisment on my device or on the simulator.
To enable ads from the iAd App Network in your app, simply do the following in iTunes Connect:
Agree to the iAd App Network Contract. Complete the required tax forms
and, if you have not already done so, set up your banking information.
Enable your app for iAd rich media ads in the Manage Your Applications
module.
Done and Done as you can see from the following screenshots
I have also linked my project to the iAd Framework and imported <iAd/iAd.h> and in viewDidLoad i put self.canDisplayBannerAds = YES;
What am I doing wrong? Does someone know from experience what is happening? Is there some sort of little hack because I could not have followed the steps more cautiously. Thankyou

Resources