Enable location data for mobile app ads
One of the unique features of mobile apps is location awareness. Mobile users bring their devices with them everywhere, and adding location awareness to apps offers users a more contextual experience. The same could be said of mobile ads. Location-based ads are usually more relevant to each person's needs and perform better.
Location data collection is enabled by default for mobile apps. If your mobile app already requests location permissions from users and the user has granted this permission, the SDK will automatically collect and pass their location data to Ad Manager and Ad Exchange and use this data to improve ad targeting.
Good to know about enabling this feature
Update location data settings for mobile apps
- Sign in to Google Ad Manager.
- Navigate to Admin Global settings Network settings.
- Configure the GPS targeting setting.
- Enabled: User location data will be passed automatically to the SDK and used to serve location-based ads to the user on mobile app.
- Disabled: User location data won’t be passed automatically to the SDK or used to serve location-based ads to the user on mobile app, even if location data is available.
- Click Save. If you're turning off location data for ads on mobile app, you may be prompted to confirm this selection.
If you disable location data collection, the Mobile Ads SDK will no longer pass auto-collected location data to Ad Manager and Ad Exchange or use location data to target ads for mobile app, regardless of whether or not a user has granted the mobile app permission.
Manually set location for your ad requests
Even if this feature is disabled, you can still manually set location targeting with the Mobile Ads SDK: