Question

Background: Starting from version 4.0 of the Google Play Services, it supports Advertising ID. It's a user-specific identifier allowing to target the ads better. I've found a lot of examples of retrieving this ID using the new API. But I could not find even single example of using it with AdMob.

Question: How to pass advertising ID to AdMob in order to get better fitting ad?

Was it helpful?

Solution

You don't need to do anything.

Admob will generate this ID under the covers and pass it as required.

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