Guides › Flutter › Google AdMob
AdMob in a Flutter app: privacy policy, Data safety & App Privacy
In a Flutter app, AdMob comes in through google_mobile_ads in pubspec.yaml. Google collects the data below, but the store treats it as your app's collection: you declare it in Data safety and App Privacy and name Google in your privacy policy.
What to declare
| Data | Purpose | Google Play Data safety | Apple App Privacy |
|---|---|---|---|
| Device identifiers identifiers for your device or app installation, such as an advertising ID or push token | Advertising or marketing, Analytics, Fraud prevention, security, and compliance | Device or other IDs › Device or other IDs Shared: Yes | Identifiers › Device ID Linked to user: No · Tracking: Yes |
| Approximate location your approximate location, for example derived from your IP address | Advertising or marketing, Fraud prevention, security, and compliance | Location › Approximate location Shared: Yes | Location › Coarse Location Linked to user: No · Tracking: Yes |
| Advertising data information about ads you have seen or interacted with | Advertising or marketing, Analytics | App activity › Other actions Shared: Yes | Usage Data › Advertising Data Linked to user: No · Tracking: Yes |
| App interactions how you use the app, such as screens viewed and features used | Advertising or marketing, Analytics | App activity › App interactions Shared: Yes | Usage Data › Product Interaction Linked to user: No · Tracking: Yes |
| Diagnostics performance data such as launch time and battery or network usage | Analytics, Fraud prevention, security, and compliance | App info and performance › Diagnostics Shared: Yes | Diagnostics › Performance Data Linked to user: No · Tracking: No |
| Data safety: shared with third parties? | Yes |
|---|---|
| App Privacy: linked to the user? | No |
| App Privacy: used for tracking? | Yes |
Flutter notes
App Tracking Transparency (iOS)
Add NSUserTrackingUsageDescription to ios/Runner/Info.plist and ask for permission before loading ads (for example with the app_tracking_transparency plugin).
Without permission, AdMob doesn't get the IDFA, but it still counts as tracking in App Privacy. When ATT is required.
Consent in the EEA, UK and Switzerland
Google requires a certified consent message for personalized ads there. google_mobile_ads includes Google's User Messaging Platform: ConsentInformation and ConsentForm.
app-ads.txt
AdMob reads app-ads.txt from the developer website in your store listing. Check yours with the app-ads.txt checker.
iOS privacy manifest
SDKs ship their own PrivacyInfo.xcprivacy. If your app's own code uses required-reason APIs (UserDefaults, file timestamps…), add one to the app target in Xcode: File › New › File › App Privacy — in the Runner target of ios/Runner.xcworkspace. Privacy manifest guide.
Privacy policy text
This is the line StoreOK puts in the "Third-party services" section of your policy:
Google AdMob (Google) for advertising. Privacy policy
The policy also has to describe the data itself (the rows above), how long you keep it, and how users can ask for deletion. See a full example.
Using more than AdMob? Drop your pubspec.yaml — StoreOK detects every SDK and writes the policy and Data safety and App Privacy answers to match. Read in your browser, no signup.
AdMob in other frameworks
react-native-google-mobile-adsExporeact-native-google-mobile-adsSwiftUI (iOS)swift-package-manager-google-mobile-adsKotlin (Android)com.google.android.gms:play-services-adsOther SDKs in Flutter
Based on Google's and the framework's public documentation and our SDK mapping. SDK behaviour changes between versions and configurations — verify against your own setup. This is not legal advice.