Google has come up with a way to overcome the ad-targeting gap between mobile web visitors and mobile app users, according to people familiar with…