App Transport Security (ATS) is a privacy feature introduced in iOS 9. It's enabled by default for new apps and enforces secure connections.
All iOS 9 and iOS 10 devices running apps built with Xcode 7 or higher that don't disable ATS will be affected by this change. This may affect your app's integration with the Google Mobile Ads SDK.
The following log message appears when a non-ATS compliant app attempts to serve an ad via HTTP on iOS 9 or iOS 10:
App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's
To ensure your ads are not impacted by ATS, do the following:
Update to version 7.15.0 or later of the Mobile Ads SDK.
NSAllowsArbitraryLoadsInWebContentexceptions to your app's
Info.plistfile to disable ATS restrictions.
<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> <key>NSAllowsArbitraryLoadsForMedia</key> <true/> <key>NSAllowsArbitraryLoadsInWebContent</key> <true/> </dict>
NSAllowsArbitraryLoadsexception is required to make sure your ads are not impacted by ATS on iOS 9 devices, while
NSAllowsArbitraryLoadsInWebContentare required to make sure your ads are not impacted by ATS on iOS 10 and later devices.