createAppOpenAd static method
Create App Open Ad with remote config support
key Key to fetch remote config (expects string unit ID)
defaultUnitId Default unit ID if remote config fails
Returns DreamAppOpenAd instance
Implementation
static DreamAppOpenAd createAppOpenAd(String key, String defaultUnitId) {
final config = _getSingleFullScreenAdConfigFromRemoteConfig(
key,
defaultUnitId,
);
return _createAppOpenAdByNetwork(key, config);
}