Getting advertising IDs

An advertising ID is a unique Google Play service identifier for displaying ads to users who agree to see personalized ads. The user can disable the personalization of ads or reset the ID in settings. In this case, advertising networks won't be able to use it to select relevant ads. The accuracy of traffic attribution will also decrease significantly.

For more information about getting advertising IDs, see the page.
  1. Excluding the library of advertising IDs from the list of dependencies

Excluding the library of advertising IDs from the list of dependencies

The described method only works for the plugin version 1.0.0 and higher.

If you don't want to get advertising IDs (for example, for children's apps), add the following lines to the android/app/build.gradle file:

configurations {
    all*.exclude group: 'com.yandex.android', module: 'mobmetricalib-identifiers'
}

If you didn't find the answer you were looking for, you can use the feedback form to submit your question. Please describe the problem in as much detail as possible. Attach a screenshot if possible.