Google AdMob now shows below warning.
Prepare your apps for iOS 14 Apple announced the new AppTrackingTransparency framework, which requires changes to your iOS apps. Implement the GMA SDK 7.64.0 (or later) and set up consent messaging to help prevent a significant loss in ad revenue.
Some apps haven’t been configured to use Apple’s SKAdNetwork To ensure you’re getting credit for all ads activity, like app installs, be sure to configure SKAdNetwork with Google’s network IDs.
Some of your iOS apps require a GMA SDK update To keep ads serving normally and minimize a loss in ad revenue, implement the GMA SDK 7.64.0 (or later) for your iOS apps. And configure the SKAdNetwork in your apps with Google’s network ID.
For this I did these changes
- Updated GoogleMobileAds SDK to 8.0
2.Updated app’s Info.plist file with these 3 keys:
1. GADApplicationIdentifier key with a string value of AdMob app ID.
2. Added SKAdNetworkItems in plist as mentioned here https://developers.google.com/admob/ios/ios14
3. NSUserTrackingUsageDescription key with value 'Game_Name would like to access IDFA for thirdparty advertising purpose'
Also added App Tracking Transparancy Alert:
- (void)requestIDFA
{
if (@available(iOS 14.0, *))
{
[ATTrackingManager requestTrackingAuthorizationWithCompletionHandler:^(ATTrackingManagerAuthorizationStatus status) {
// Admob Ads
[self loadAdmob_Ads];
[self loadRewardedInterstitial];
[self requestAppOpenAd];
}];
}
else
{
// Admob Ads
[self loadAdmob_Ads];
[self loadRewardedInterstitial];
[self requestAppOpenAd];
}
}
Is there anything else I need to do in Xcode ?
See below image from Appstoreconnect, Am I need to set Yes Or No?(Yes, we use advertising data for tracking purpose?) we are not tracking user, not sure about Google AdMob.
Data Used to Track You ( Identifiers), Data Linked to You ( Identifiers ). Is it right settings for Google AdMob ?
Recent AppStore Rejection Message:
Guideline 5.1.2 – Legal – Privacy – Data Use and Sharing
We noticed you do not use App Tracking Transparency to request the user’s permission before tracking their activity across apps and websites. The app privacy information you provided in App Store Connect indicates you collect data in order to track the user, including Device ID and Advertising Data.
Starting with iOS 14.5, apps on the App Store need to receive the user’s permission through the AppTrackingTransparency framework before collecting data used to track them. This requirement protects the privacy of App Store users.
Updates: Game approved by Apple. Here is game with latest admob ads (GADInterstitialAd, GADAppOpenAd, GADRewardedInterstitialAd, GADRewardedAd): https://apps.apple.com/us/app/ocean-fishing-master-3d-games/id1550945081
2
Answers
Updates: Game approved by Apple. Here is game with latest admob ads (GADInterstitialAd, GADRewardedInterstitialAd, GADRewardedAd, GADAppOpenAd):
https://apps.apple.com/us/app/ocean-fishing-master-3d-games/id1550945081
Added Google Admob SKAdNetworkIdentifier values in Info.plist
Added requestIDFA in didFinishLaunchingWithOptions. It opens App Tracking Transparency dialog box.
requestIDFA function:
Added AppTrackingTransparency.framework to Xcode.
In info.plist added NSUserTrackingUsageDescription
Admob ads related functions:
Google Official Documentation:
SKAdNetworkItems iOS 14 Updates : https://developers.google.com/admob/ios/ios14
GADInterstitialAd : https://developers.google.com/admob/ios/interstitial
GADRewardedInterstitialAd : https://developers.google.com/admob/ios/rewarded-interstitial
GADRewardedAd : https://developers.google.com/admob/ios/rewarded-ads
GADAppOpenAd : https://developers.google.com/admob/ios/app-open-ads
Adaptive Banner ( GADBannerView ) : https://developers.google.com/admob/ios/banner/adaptive
NSAppTransportSecurity : https://developers.google.com/admob/ios/app-transport-security
Update SKAdNetworkIdentifier via new google suggestions: