googleads / googleads-consent-sdk-android

Consent SDK
https://developers.google.com/admob/android/eu-consent
Apache License 2.0
100 stars 74 forks source link

Ad Provider question. #64

Closed malta-yamato closed 6 years ago

malta-yamato commented 6 years ago

Why use getNonPersonalizedAdProviders I think they don't need to be consent. I 'm confused.

-ConsentInformation.java line 412.

    } else if (hasNonPersonalizedPublisherId) {
        newAdProviderSet =
            getNonPersonalizedAdProviders(response.companies, nonPersonalizedAdProvidersIds);
    } else {
        newAdProviderSet = new HashSet<>(response.companies);
    }
rampara commented 6 years ago

@malta-yamato currently, the only ad provider returned in this case will be Google.

malta-yamato commented 6 years ago

Thank you for your comment. I think It will be fine by the only AdProvider.

malta-yamato commented 6 years ago

If the only consented AdProvider, we don't need to check about new AdProvider and reset status when changed. It will be more safe.