Enable location data for mobile app ads

Take advantage of mobile GPS location targeting

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

  • Enablement of GPS location targeting does not automatically collect location data for web. Collection of location data via web can be implemented by passing parameters in GPT tags, even if this feature is disabled. Learn more
  • Location data collected does not affect mediation for mobile apps.

Update location data settings for mobile apps

  1. Sign in to Google Ad Manager.
  2. Navigate to Admin and then Global settings and then Network settings.
  3. 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.
  4. 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:

Was this helpful?
How can we improve it?