Location Targeting in Admob

188 views
Skip to first unread message

Peter Smith

unread,
Jun 5, 2016, 10:02:17 AM6/5/16
to Google Mobile Ads SDK Developers
Hi folks,

I've integrate Firebase Analytics and Admob 7.8.1 into my apps. I see that the changelog for 7.8.1 says that Location Targeting is now automatic if the app uses Location.

Does this mean that the code near the top of this page https://firebase.google.com/docs/admob/ios/targeting#prerequisites for setting location using the CLLocation instance is now unnecessary?

My apps do use location and I haven't been using this location setting code and I was thinking of putting it in but now I am unsure if it is necessary or not.

Can you please clarify if this sending of the CLLocation to Admob is required any more or it is done automatically?

Thanks and Regards,

Peter Smith.

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Jun 6, 2016, 12:43:07 PM6/6/16
to Google Mobile Ads SDK Developers
Hi Peter,

If you have explicitly enabled location services, the SDK sends location data for reporting purposes and not for Location targeting. So you still would have to send the location details if you want to enable Location Targeting. The code snippet assumes that you have already enabled location services and it retrieves the users coordinates using CLLocationManager.

Thanks,
Veer Busani
Mobile Ads SDK Team

Peter Smith

unread,
Jun 9, 2016, 7:15:56 AM6/9/16
to Google Mobile Ads SDK Developers
Thank you Veer for your reply, the info is very much appreciated. Cheers.
Reply all
Reply to author
Forward
0 new messages