criteo/android-publisher-sdk-google-adapters

Should not be treated as noFillError() when Criteo is initialized for the very first time in CriteoAdapter

coldcode001 opened this issue · 0 comments

https://github.com/criteo/android-publisher-sdk-google-adapters/blob/0a8d2f5ab8499c7fe7854b9049847ea8b79211bc/mediation/src/main/java/com/criteo/mediation/google/CriteoAdapter.kt#L188,L197

In case of not initialized in CriteoAdapter#initialize with param tagForChildDirectedTreatment, it will call Criteo.Builder().init(). When it's initialized successfully here then it should return true to continue loading the ads, otherwise it will always fail for the first time.
Not sure if I misunderstand this piece of code, or is there any thing to prevent from doing that way?