Question

Google Mobile Ads

With Google Play services 4.1, the Google Mobile Ads SDK now fully supports DoubleClick for Publishers, DoubleClick Ad Exchange, and Search Ads for Mobile Apps. You can also use a new publisher-provided location API to provide Google with the location when requesting ads. Location-based ads can improve your app monetization.

How to get publisher provided location? How to set the retrived location to com.google.android.gms.ads.AdRequest?

Was it helpful?

OTHER TIPS

AdRequest request = new AdRequest.Builder()
    .setLocation(Location l)
    .build();

This works for me.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top