Reputation: 4523
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?
Upvotes: 5
Views: 786
Reputation: 20196
You don't need to do anything.
Admob will generate this ID under the covers and pass it as required.
Upvotes: 3