AdMob ads not showing in iOS

2019-04-10 03:32发布

问题:

AdMob ads are not showing for iOS builds in the last couple of days. It used to work and I didn't change anything.

  • iOS - 9.3.5
  • IDE - NetBeans 8.0.2
  • CodenameOne Plugin - 3.5.2
  • OS - Windows 7

回答1:

Google deprecated the old admob library and discontinued it. We need to update to the latest version for ads to keep working. We plan on updating the cn1lib within the near future, I'm assuming that is the implementation you are referring to.



回答2:

AdMob ads are not showing because for iOS 9 http URL’s are blocked by Apple. They show up by using the build hint

ios.plistInject=<key>NSAppTransportSecurity</key><dict><key>NSAllowsArbitraryLoads</key><true/></dict>


回答3:

Take a look at this

https://groups.google.com/forum/#!topic/google-admob-ads-sdk/DeqKJQx_rgk

Based on that the deadline is September 15, so your problem isn't related to this.