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?

有帮助吗?

解决方案

You don't need to do anything.

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top