Apple added to iOS 9 new security settings that, among other things, also affected how advertising behaves. One of the measures "against" advertising is the possibility to block ads in Safari with the help of third-party applications, which people will appreciate in cases where you automatically get an ad for MacKeeper when you open a page, which is a really reliable program - so reliable that people have demanded a refund from its creators. But there is also another measure and that is the fact that iOS 9 complicates the way targeted in-app advertising works. It bothers Google above all, which is really dependent on iPhone due to revenue from targeted advertising. Google has therefore come up with a way to bypass ad blocking on devices with iOS 9 and released code that developers can use in their apps to keep AdSense working as it should.
It can be expected that developers will use this function, since today many applications rely on income from AdSense, and in the case of freemium applications it represents an additional source of income for the (often independent) developer. Apple however, here it uses the new ATS setting (App Transport Security), due to which advertisements use the HTTPS protocol - thanks to which they are secure and the applications do not track the user's activity, i.e. they are not targeted. However, Google says that developers can write code into apps and create an "exception" that allows ads to use the HTTP protocol and track what the user is doing. The code itself has only 5 lines and is fully functional, so you just need to copy it into the application and compile it again.
Ultimately, the question is how it will behave Apple – because in 2012 Google was fined $22,5 million for hacking Safari and forced him not to use ad blocking tools. You can see the code itself below:
*Source: Cult of Mac
Facepalm, seriously, and Google is going somewhere with this.