Location data cache : Location permission needed only first time

20 views
Skip to first unread message

Mahbubul Alam

unread,
Jan 27, 2022, 11:22:52 AM1/27/22
to Google Mobile Ads SDK Developers
Hi,  

Can you please tell me  if  user  does not accept Location permission  or disabled  Location service    after first time use ..then what will happen ?

Details:  
If my  app has  Location permission   and user allows  it  for the first time  and 
at-least one  Admob Ad is displayed  successfully with location permission   and Location service enabled .
then 
after that , when user will open the App next time ,  if user  does not accept permission  or disabled Location service still Admob will be able to  send location information  with every AD request.?

 Is it like --  ADMOB  cache the location data in app cache directory and from next time onward  it will send cached location data .  So from next time  even user does not accept Location permission or Location service is disabled .. Still ADMOB  will work properly with cached location data.
Because if  Location Service  is disabled   getLastKnownLocation()   returns NULL.



Thank you



Can you please focus some light on it .

Mobile Ads SDK Forum Advisor

unread,
Jan 27, 2022, 11:48:44 PM1/27/22
to olaoye...@gmail.com, google-adm...@googlegroups.com
Hi Mahbubul,

Thank you for reaching out to us. 

With regard to your use case, AdMob will served non-personalized ads when your users does not accept Location permission or disabled Location service.

Regards,
Google Logo
Teejay Wennie Pimentel
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2VQ8U9:ref
Reply all
Reply to author
Forward
0 new messages