I recently published my app with iAd and Admob, and I followed every instruction to set up Admob correctly. But I soon realize that Admob ad won't ever refresh -- it only shows one ad no matter what (restart app, re-install app, and etc). I set up auto refresh rate at 30sec on Admob website. Is there a method to refresh it programmatically?
I use this module and seems to work just fine:
https://github.com/shad/titanium_modules/tree/master/admob
Have a one thing in mind that the ads might be the same, even when refreshing, especially if you don't enable google ads in the Admob console.
So please enable it in Admob console.
Hope it helps you !
Related
I have an app in iOS TestFlight. It has AdMob ads. I originally deployed the app with the demo unit id and the app showed demo ads. So far, so good. I got my AdMob account approved and I added the real unit ID to my app as per the instructions. I ran the app on the simulator and the banner shows up, albeit with demo ads. So, I deployed this version to TestFlight, and now the app in TestFlight doesn't show any banner.
I don't know what is going wrong. It should at least display the demo banner. I would have to add some kind of logging to diagnose the issue.
So, I checked the documentation here and here.
I added my physical iPhone as a Test Device in the AdMob console, but my device still doesn't display any ads and the shake gesture does nothing.
The documentation says that I need to have the app in the store before I can serve ads, but it's a chicken-and-egg scenario. I want to make sure the ads are working before I deploy them to the store. I would at least like the demo banner to display, but even that won't display right now.
I also followed this documentation. If I add this test Swift code, the banner shows up. But this doesn't really help me much because it requires that I put the specific device id into the app.
GADMobileAds.sharedInstance().requestConfiguration.testDeviceIdentifiers = [ "[DEVICE ID]" ]
My two options are to roll back to the demo ad unit id which displays the incorrect demo banner or just hope for the best. Can anyone recommend advice here, or at least explain how I can get the ads to display on the test device?
Edit: The app works fine with the demo advert but it got rejected from the Apple store because the ad says "Test". It's a chicken and egg scenario.
verify all below points
First visit admob console and read the warning at top. add payments information if not added and approve your account.
Verify once, you replaced your production ads IDs properly in your app code for production environment.
For production Advertising your app need to add for review first from admob console too. checkout this documentation.
app-ads-txt correctly updated with status or not. checkout this link
If your Ads working in development environment Ads will work for production too if above all steps correctly done. some times on
New production ad IDs takes few hours or requests to load ads in user's
device. checkout below links
Common reasons for ads not showing - link
Take time too load production ads - link
For iOS TestFlight app rejection, your app contains any test keywords (test, lorem ipsum...) in app store listing content (screenshots or app contains testing data). for resolve this go-through app store review guidelines.
I have been having this issues for at least over 2 weeks. I uploaded my app and at first the ads would show and everything was fine then out of no where ads will not show anymore and analytics and shows ads are being requested but nothing is shown. I have no poilcy center issues and test ads work fine. I put the app-ads.txt which got verified and when I debug now I get this error, ""AdMob App ID changed. Original, new: (nil)". I just made another app and now the same thing is happening. I have tried verifying my payments and everythig is seeming fine. This issue has be annoying me and have made at least another 2 posts and still no reply.
Have you had a look at this answer?
The accepted answer states you need to add the required 'NSAppTransportSecurity' keys into your info.plist.
Ad: Monitor your Admob and Mopub earnings using the Motics ios app.
While I was making my iOS app, I used test AdMob AppID and AdUnitID.
Test ads showed up every time.
Today I made an AdMob account and got the production AppID and AdUnitID.
I copied them and replaced the test ones in my app.
I archived the app so to use the Release settings in XCode.
Then I uploaded it to AppStore.
However, when I download the app from TestFlight no ads are shown.
What am I missing?
P.S.
- GoogleAds framework is up to date
- AdMob account is filled with the required info.
AppDelegate
GADMobileAds.configure(withApplicationID: <AdMob AppID>)
ViewController
bannerAd.adUnitID = <AdMob adUnitID>
bannerAd.rootViewController = self
bannerAd.load(GADRequest())
Per Admob Help:
When apps are newly registered with AdMob, it takes some time and a few ad requests to allow inventory to build. Because of this, you may not see live impressions immediately.
Once your app is making more requests, you should see more consistent results. Please note that test ads operate through the same channels as live ads. Being able to return a test ad ensures that your application is communicating properly with our network.
I would say wait 24-48 hours to start seeing live ads, depending on your region.
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.
I just finished an update to an iPhone app which included ads. I have signed the contract on iTunes Connect and have integrated the iAd framework with my app. When running the simulator I got test ads running in my app.
However, now that the app is on the app store (it has been about a week since I put ads into it). Whenever I go to the app on my phone there are no ads. Additionally I have around 300 downloads so far.
When I got iAd Workbench and try to view the information on my apps I get something like this:
iAd Network is temporarily unavailable
Sorry: We were unable to locate information relating to your account. Please try again later. If the problem persist please contact us.
Am I missing something? Do I just need to wait for them to review something? I have contacted iAd but have not had a response.
I found out the problem. So I had been making individual instances of adViewBanner in each of my view controllers. I replaced that by making an adViewBanner in my AppDelegate and then put an instance of that on each of my pages. Once the update was accepted with this change iAd workbench started working and the error message went away.