InitializationCompleteCallback

interface InitializationCompleteCallback


Callbacks for a mediation adapter to communicate third party ad network initialization status back to the Google Mobile Ads SDK. Mediation adapters must send these callbacks so that they can be forwarded to the publisher.

Summary

Public functions

Unit

Notifies the Google Mobile Ads SDK that the third party SDK initialization failed with an AdError.

Unit

This function is deprecated. Use onInitializationFailed(AdError) instead.

Unit

Notifies the Google Mobile Ads SDK that the third party SDK initialization succeeded.

Public functions

onInitializationFailed

fun onInitializationFailed(error: AdError): Unit

Notifies the Google Mobile Ads SDK that the third party SDK initialization failed with an AdError.

onInitializationFailed

fun onInitializationFailed(error: String): Unit

Notifies the Google Mobile Ads SDK that the third party SDK initialization failed.

onInitializationSucceeded

fun onInitializationSucceeded(): Unit

Notifies the Google Mobile Ads SDK that the third party SDK initialization succeeded.